DJI Mobile SDK Documentation

      class ARFaceStroke

      class ARFaceStroke implements Parcelable 
      Package:dji.open.pilot.base.manager.ar
      Description:

      AR face stroke configuration (visibility and stroke properties).

      Supported since MSDK 5.20.1

      Class Members:
      method
      method isVisible
      boolean isVisible() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Get whether the face stroke is visible.

      Supported since MSDK 5.20.1

      Return:
      booleanWhether the face stroke is visible.
      method setVisible
      void setVisible(boolean visible) 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Set whether the face stroke is visible.

      Supported since MSDK 5.20.1

      Input Parameters:
      boolean visibleWhether to show the face stroke.
      method
      method getStroke
      ARStrokeInfo getStroke() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Get the stroke configuration.

      Supported since MSDK 5.20.1

      Return:
      ARStrokeInfoThe stroke configuration (color, width, dashed).
      method
      method setStroke
      void setStroke(ARStrokeInfo stroke) 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Set the stroke configuration.

      Supported since MSDK 5.20.1

      Input Parameters:
      ARStrokeInfo strokeThe stroke configuration (color, width, dashed).