DJI Mobile SDK Documentation

      class IIntelligentFlightManager

      interface IIntelligentFlightManager
      Package:dji.v5.manager.interfaces
      Description:

      Class that is used to manage intelligent flight, which supports advanced intelligent functions such as auto sensing, spotlight, POI, Track and flying to the target point.

      Supported since MSDK 5.14.0

      Class Members:
      method removeIntelligentFlightInfoListener
      void removeIntelligentFlightInfoListener(IntelligentFlightInfoListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Removes the intelligent flight function information listener.

      Supported since MSDK 5.14.0

      Input Parameters:
      IntelligentFlightInfoListener listenerIntelligent Flight function information listener.
      method addAutoSensingInfoListener
      void addAutoSensingInfoListener(AutoSensingInfoListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Adds an auto sensing function information listener.

      Supported since MSDK 5.14.0

      Input Parameters:
      AutoSensingInfoListener listenerAuto sensing function information listener.
      method removeAutoSensingInfoListener
      void removeAutoSensingInfoListener(AutoSensingInfoListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Removes the auto sensing function information listener.

      Supported since MSDK 5.14.0

      Input Parameters:
      AutoSensingInfoListener listenerAuto sensing function information listener.
      method startAutoSensing
      void startAutoSensing(CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Starts the auto sensing function. Once activated, the information about the aircraft's auto sensing can be accessed through addAutoSensingInfoListener.

      Supported since MSDK 5.14.0

      Input Parameters:
      CommonCallbacks.CompletionCallback callbackCallback for returning the execution result.
      method stopAutoSensing
      void stopAutoSensing(CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Stops the auto sensing function.

      Supported since MSDK 5.14.0

      Input Parameters:
      CommonCallbacks.CompletionCallback callbackCallback for returning the execution result.
      method getSmartTrackMissionManager
      ISmartTrackMissionManager getSmartTrackMissionManager()
      Package:dji.v5.manager.interfaces
      Description:

      Retrieves the SmartTrackMissionManager instance for the intelligent flight function, which provides functionalities to turn on and off the track function, as well as parameter settings.

      Supported since MSDK 5.14.0

      Return:
      ISmartTrackMissionManagerReturns the SmartTrackMissionManager instance for the intelligent flight function.
      method getSpotLightManager
      ISpotLightManager getSpotLightManager()
      Package:dji.v5.manager.interfaces
      Description:

      Retrieves the SpotLightManager instance for the intelligent flight function, which provides functionalities to turn on and off the SpotLight function, as well as parameter settings.

      Supported since MSDK 5.14.0

      Return:
      ISpotLightManagerReturns the SpotLightManager instance for the intelligent flight function.
      method getPOIMissionManager
      IPOIMissionManager getPOIMissionManager()
      Package:dji.v5.manager.interfaces
      Description:

      Retrieves the POIMissionManager instance for the intelligent flight function, which provides functionalities to turn on and off the POI function, as well as parameter settings.

      Supported since MSDK 5.14.0

      Return:
      IPOIMissionManagerReturns the POIMissionManager instance for the intelligent flight function.
      method getFlyToMissionManager
      IFlyToMissionManager getFlyToMissionManager()
      Package:dji.v5.manager.interfaces
      Description:

      Retrieves the FlyToMissionManager instance for the intelligent flight function, which provides functionalities to turn on and off the fly to target point function, as well as parameter settings.

      Supported since MSDK 5.14.0

      Return:
      IFlyToMissionManagerReturns the FlyToMissionManager instance for the intelligent flight function.
      enum MissionType
      enum MissionType
      Package:dji.v5.manager.intelligent
      Description:

      Intelligent Flight function types.

      Supported since MSDK 5.14.0

      Enum Members:
      POIPOI
      SPOTLIGHTSpotLight
      TRACKTrack
      FLY_TOFly to the target point
      Class Members:
      enum TargetType
      enum TargetType
      Package:dji.v5.manager.intelligent
      Description:

      Target types for the intelligent flight function.

      Supported since MSDK 5.14.0

      Enum Members:
      INDEXIndex type
      LOCATIONLocation type
      RECTRectangle area type
      Class Members:
      enum AutoSensingTargetType
      enum AutoSensingTargetType
      Package:dji.v5.manager.intelligent
      Description:

      Target types for auto sensing.

      Supported since MSDK 5.14.0

      Enum Members:
      PERSONPerson
      CARCar
      BOATBoat
      Class Members: