# class IFlyToMissionManager

    interface IFlyToMissionManager extends IMissionManager<FlyToTarget, FlyToParam, FlyToInfo, FlyToCapability>

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

##### Description:

Fly to target point task management class.
`Supported since MSDK 5.14.0`

##### Class Members:

method
addMissionCapabilityListener

###### method addMissionCapabilityListener

    @Override
     void addMissionCapabilityListener(IMissionCapabilityListener<FlyToCapability> listener)

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

##### Description:

Added the capability listener for the task flying to the target point function, which is used to obtain the capability sets of different aircraft.
`Supported since MSDK 5.14.0`

##### Input Parameters:

IMissionCapabilityListener<FlyToCapability> listener | Listener for the fly to target point function capability.

method
removeMissionCapabilityListener

###### method removeMissionCapabilityListener

    @Override
     void removeMissionCapabilityListener(IMissionCapabilityListener<FlyToCapability> listener)

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

##### Description:

Remove the listener for the fly to target point function capability.
`Supported since MSDK 5.14.0`

##### Input Parameters:

IMissionCapabilityListener<FlyToCapability> listener | Listener for the fly to target point function capability.

method
addMissionInfoListener

###### method addMissionInfoListener

    @Override
     void addMissionInfoListener(IMissionInfoListener<FlyToInfo, FlyToTarget> listener)

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

##### Description:

Added the listener for the fly to target point function information.
`Supported since MSDK 5.14.0`

##### Input Parameters:

IMissionInfoListener<FlyToInfo, FlyToTarget> listener | Listener for the fly to target point function information.

method
removeMissionInfoListener

###### method removeMissionInfoListener

    @Override
     void removeMissionInfoListener(IMissionInfoListener<FlyToInfo, FlyToTarget> listener)

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

##### Description:

Remove the listener for the fly to target point function information.
`Supported since MSDK 5.14.0`

##### Input Parameters:

IMissionInfoListener<FlyToInfo, FlyToTarget> listener | Listener for the fly to target point function information.

method
startMission

###### method startMission

    @Override
     void startMission(FlyToTarget target, FlyToParam param, CommonCallbacks.CompletionCallback callback)

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

##### Description:

Start task.
`Supported since MSDK 5.14.0`

##### Input Parameters:

FlyToTarget target | Target of Fly-To function.
FlyToParam param | Parameter of Fly-To 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.flyto

##### 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(FlyToTarget target, CommonCallbacks.CompletionCallback callback)

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

##### Description:

Update the target of Fly-To task.
`Supported since MSDK 5.14.0`

##### Input Parameters:

FlyToTarget target | Target of fly-to function.
CommonCallbacks.CompletionCallback callback | A callback that returns the execution result.

method
updateMissionParam

###### method updateMissionParam

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

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

##### Description:

Update the parameter of Fly-To task.
`Supported since MSDK 5.14.0`

##### Input Parameters:

FlyToParam param | Parameter of Fly-To function.
CommonCallbacks.CompletionCallback callback | A callback that returns the execution result.

##### Related:

class
FlyToCapability
class
FlyToInfo
class
FlyToParam
class
FlyToTarget
enum
FlyToMode

###### enum FlyToMode

    enum FlyToMode implements JNIProguardKeepTag

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Mode of Fly-To task。
`Supported since MSDK 5.14.0`

##### Enum Members:

SMART_HEIGHT | Optimal Altitude Mode。
SET_HEIGHT | Set Altitude Mode.

##### Class Members:

×

## 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