DJI Mobile SDK Documentation

      class SpotLightTarget

      class SpotLightTarget
      Package:dji.v5.manager.intelligent.spotlight
      Description:

      Target of the spotlight function.

      Supported since MSDK 5.14.0

      Class Members:

      Members

      method getTargetType
      TargetType getTargetType()
      Package:dji.v5.manager.intelligent.spotlight
      Description:

      Gets the target type of the spotlight function.

      Return:
      TargetTypeReturns the target type of the spotlight function.
      method setTargetType
      void setTargetType(TargetType targetType)
      Package:dji.v5.manager.intelligent.spotlight
      Description:

      Sets target type of spotlight function.

      Input Parameters:
      TargetType targetTypeTarget type of spotlight function
      method getTargetIndex
      Integer getTargetIndex()
      Package:dji.v5.manager.intelligent.spotlight
      Description:

      Gets the index of spotlight function.

      Return:
      IntegerReturns the index of spotlight function.
      method setTargetIndex
      void setTargetIndex(Integer targetIndex)
      Package:dji.v5.manager.intelligent.spotlight
      Description:

      Sets the target index of spotlight function.

      Input Parameters:
      Integer targetIndexTarget index of spotlight function.
      method getTargetLocation
      LocationCoordinate3D getTargetLocation()
      Package:dji.v5.manager.intelligent.spotlight
      Description:

      Gets the target location of spotlight function.

      Return:
      LocationCoordinate3DReturns the target location of spotlight function.
      method setTargetLocation
      void setTargetLocation(LocationCoordinate3D targetLocation)
      Package:dji.v5.manager.intelligent.spotlight
      Description:

      Sets the target location of SpotLight function.

      Input Parameters:
      LocationCoordinate3D targetLocationTarget location of SpotLight function.
      method getTargetRect
      DoubleRect getTargetRect()
      Package:dji.v5.manager.intelligent.spotlight
      Description:

      Gets the target Rectangle of SpotLight function.

      Return:
      DoubleRectReturns the target Rectangle of SpotLight function.
      method setTargetRect
      void setTargetRect(DoubleRect targetRect)
      Package:dji.v5.manager.intelligent.spotlight
      Description:

      Sets the target Rectangle of spotlight function.

      Input Parameters:
      DoubleRect targetRectTarget Rectangle of spotlight function.