DJI Mobile SDK Documentation

      class StabilizationState

      @EXClassNullAway
      class StabilizationState
      Package:dji.common.camera
      Description:

      The state of the vision stabilization.

      Class Members:
      method StabilizationState
      StabilizationState(boolean isActive, boolean isPaused, StabilizationPauseReason reason)
      Package:dji.common.camera
      Description:

      Constructor method for the StabilizationState.

      Input Parameters:
      boolean isActiveThe stabilization is active or not.
      boolean isPausedThe stabilization is paused or not.
      StabilizationPauseReason reasonIf paused, the reason on the pause.
      method
      method isActive
      boolean isActive()
      Package:dji.common.camera
      Description:

      Check if the stabilization is active or not.

      Return:
      booleanYES if the stabilization is active.
      method
      method isPaused
      boolean isPaused()
      Package:dji.common.camera
      Description:

      Check if the stabilization is paused or not.

      Return:
      booleanYES if the stabilization is paused.
      method getPauseReason
      StabilizationPauseReason getPauseReason()
      Package:dji.common.camera
      Description:

      Check if the stabilization is paused or not.

      Return:
      StabilizationPauseReasonYES if the stabilization is paused.
      enum StabilizationPauseReason
      static enum StabilizationPauseReason
      Package:dji.common.camera
      Description:

      The reason on the stabilization pause.

      Enum Members:
      UNCHARACTERISTICNo characteristic.
      CAMERA_CHANGINGThe camera is changing.
      GIMBAL_MOVINGThe gimbal is moving.
      DRONE_MOVINGThe drone is moving.
      TRACKINGIn tracking mode.
      TAP_GOIn Tap Go mode.
      OTHEROther.
      Class Members: