# class ISpotLightManager

    interface ISpotLightManager extends IMissionManager<SpotLightTarget, SpotLightParam, SpotLightInfo, SpotLightCapability>

Package: | dji.v5.manager.intelligent.spotlight
Inherits From: | `IMissionManager`

##### Description:

SpotLight task management class.
`Supported since MSDK 5.14.0`

##### Class Members:

method
addMissionCapabilityListener

###### method addMissionCapabilityListener

    @Override
     void addMissionCapabilityListener(IMissionCapabilityListener<SpotLightCapability> listener)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Add the spotlight function capability listener to obtain the capability of different aircraft.
`Supported since MSDK 5.14.0`

##### Input Parameters:

IMissionCapabilityListener<SpotLightCapability> listener | Listener of the spotlight capability.

method
removeMissionCapabilityListener

###### method removeMissionCapabilityListener

    @Override
     void removeMissionCapabilityListener(IMissionCapabilityListener<SpotLightCapability> listener)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Remove the listener of the spotlight capability。
`Supported since MSDK 5.14.0`

##### Input Parameters:

IMissionCapabilityListener<SpotLightCapability> listener | Listener of the spotlight function capability。

method
addMissionInfoListener

###### method addMissionInfoListener

    @Override
     void addMissionInfoListener(IMissionInfoListener<SpotLightInfo, SpotLightTarget> listener)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Added the listener of the spotlight information.
`Supported since MSDK 5.14.0`

##### Input Parameters:

IMissionInfoListener<SpotLightInfo, SpotLightTarget> listener | Listener of the spotlight information.

method
removeMissionInfoListener

###### method removeMissionInfoListener

    @Override
     void removeMissionInfoListener(IMissionInfoListener<SpotLightInfo, SpotLightTarget> listener)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Remove the listener of the spotlight information.
`Supported since MSDK 5.14.0`

##### Input Parameters:

IMissionInfoListener<SpotLightInfo, SpotLightTarget> listener | Listener of the spotlight information.

method
startMission

###### method startMission

    @Override
     void startMission(SpotLightTarget target, SpotLightParam param, CommonCallbacks.CompletionCallback callback)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Start task.
`Supported since MSDK 5.14.0`

##### Input Parameters:

SpotLightTarget target | Target of spotlight function
SpotLightParam param | Parameter of spotlight function
CommonCallbacks.CompletionCallback callback | A callback that returns the execution result.

method
stopMission

###### method stopMission

    @Override
     void stopMission(CommonCallbacks.CompletionCallback callback)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Stop task.
`Supported since MSDK 5.14.0`

##### Input Parameters:

CommonCallbacks.CompletionCallback callback | A callback that returns the execution result.

method
updateMissionTarget

###### method updateMissionTarget

    @Override
     void updateMissionTarget(SpotLightTarget target, CommonCallbacks.CompletionCallback callback)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Update the target of spotlight function.
`Supported since MSDK 5.14.0`

##### Input Parameters:

SpotLightTarget target | Target of spotlight function
CommonCallbacks.CompletionCallback callback | A callback that returns the execution result.

method
updateMissionParam

###### method updateMissionParam

    @Override
     void updateMissionParam(SpotLightParam param, CommonCallbacks.CompletionCallback callback)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Update the parameter of spotlight function.
`Supported since MSDK 5.14.0`

##### Input Parameters:

SpotLightParam param | Parameter of spotlight function
CommonCallbacks.CompletionCallback callback | A callback that returns the execution result.

method
enterSpotLightMode

###### method enterSpotLightMode

    @Override
     void enterSpotLightMode(CommonCallbacks.CompletionCallback callback)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Enter spot light mode.
`Supported since MSDK 5.15.0`

##### Input Parameters:

CommonCallbacks.CompletionCallback callback | A callback that returns the execution result.

method
exitSpotLightMode

###### method exitSpotLightMode

    @Override
     void exitSpotLightMode(CommonCallbacks.CompletionCallback callback)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Exit spot light mode.
`Supported since MSDK 5.15.0`

##### Input Parameters:

CommonCallbacks.CompletionCallback callback | A callback that returns the execution result.

##### Related:

class
SpotLightCapability
class
SpotLightTarget
×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found