DJI Mobile SDK Documentation

      class LandAction

      class LandAction extends LandOrGoHomeActionBase
      Package:dji.sdk.mission.timeline.actions
      Inherits From:LandOrGoHomeActionBase
      Description:

      This class represents a land action used as an element in a Timeline mission. By creating an object of this class and adding it to Mission Control's Timeline, the aircraft will land at its current location when the Timeline reaches the action.

      Class Members:
      method setAutoConfirmLandingEnabled
      @Override
      void setAutoConfirmLandingEnabled(boolean enable)
      Package:dji.sdk.mission.timeline.actions
      Description:

      true to enable automatic confirmation during landing. For flight controller firmware version 3.2.0.0 or above, when the clearance between the aircraft and the ground is less than 0.3m, the aircraft will pause landing and wait for the user's confirmation to continue (see confirmLanding). Enabling this auto confirmation, allows the aircraft to continue landing without the user's confirmation during the Timeline execution. For firmware that does not require landing confirmation, the value is ignored. The default value is true.

      Input Parameters:
      boolean enableEnable automatic confirmation during landing.
      method getAutoConfirmLandingEnabled
      @Override
      boolean getAutoConfirmLandingEnabled()
      Package:dji.sdk.mission.timeline.actions
      Description:

      For flight controller firmware version 3.2.0.0 or above, when the clearance between the aircraft and the ground is less than 0.3m, the aircraft will pause landing and wait for the user's confirmation to continue. Enabling the auto confirmation, allows the aircraft to continue landing without the user's confirmation during the timeline execution. For firmware that does not require landing confirmation, the value is ignored. The default value is true.

      Return:
      booleanA boolean value.