DJI Mobile SDK Documentation

      class ARPolygonFace

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

      AR face (top/side/bottom) color and visibility configuration.

      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 is visible.

      Supported since MSDK 5.20.1

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

      Set whether the face is visible.

      Supported since MSDK 5.20.1

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

      Get the front face color.

      Supported since MSDK 5.20.1

      Return:
      intThe front face color (ARGB).
      method setFrontFaceColor
      void setFrontFaceColor(@ColorInt int frontFaceColor) 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Set the front face color.

      Supported since MSDK 5.20.1

      Input Parameters:
      @ColorInt int frontFaceColorThe front face color (ARGB).
      method getBackFaceColor
      int getBackFaceColor() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Get the back face color.

      Supported since MSDK 5.20.1

      Return:
      intThe back face color (ARGB).
      method setBackFaceColor
      void setBackFaceColor(@ColorInt int backFaceColor) 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Set the back face color.

      Supported since MSDK 5.20.1

      Input Parameters:
      @ColorInt int backFaceColorThe back face color (ARGB).