DJI Mobile SDK Documentation

      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
      @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> listenerListener for the fly to target point function capability.
      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> listenerListener for the fly to target point function capability.
      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> listenerListener for the fly to target point function information.
      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> listenerListener for the fly to target point function information.
      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 targetTarget of Fly-To function.
      FlyToParam paramParameter of Fly-To function.
      CommonCallbacks.CompletionCallback callbackA callback that returns the execution result.
      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 callbackA callback that returns the execution result.
      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 targetTarget of fly-to function.
      CommonCallbacks.CompletionCallback callbackA callback that returns the execution result.
      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 paramParameter of Fly-To function.
      CommonCallbacks.CompletionCallback callbackA callback that returns the execution result.
      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_HEIGHTOptimal Altitude Mode。
      SET_HEIGHTSet Altitude Mode.
      Class Members: