DJI Mobile SDK Documentation

      class DirectionState

      class DirectionState
      Package:dji.common.gimbal.XPortState
      Description:

      This class provides gimbal direction adjustment result and adjustment suggestion on axis.

      Class Members:
      Adjustment Result LR
      method
      method getAdjustmentResultLR
      DirectionAdjustmentResult getAdjustmentResultLR()
      Package:dji.common.gimbal.XPortState
      Description:

      Gimbal direction adjustment result for direction left and right.

      Return:
      DirectionAdjustmentResultAn enum value of DirectionAdjustmentResult.
      Adjustment Suggestion LR
      method
      method getAdjustmentSuggestionLR
      SuggestedDirectionAdjustment getAdjustmentSuggestionLR()
      Package:dji.common.gimbal.XPortState
      Description:

      Suggestion for adjusting the gimbal to the left or to the right.

      Return:
      SuggestedDirectionAdjustmentAn enum value of SuggestedDirectionAdjustment.
      Adjustment Result UD
      method
      method getAdjustmentResultUD
      DirectionAdjustmentResult getAdjustmentResultUD()
      Package:dji.common.gimbal.XPortState
      Description:

      Gimbal direction adjustment result for direction upwards or downwards.

      Return:
      DirectionAdjustmentResultAn enum value of DirectionAdjustmentResult.
      Adjustment Suggestion UD
      method
      method getAdjustmentSuggestionUD
      SuggestedDirectionAdjustment getAdjustmentSuggestionUD()
      Package:dji.common.gimbal.XPortState
      Description:

      Suggestion for adjusting the gimbal upwards or downwards.

      Return:
      SuggestedDirectionAdjustmentGet the enum value of SuggestedDirectionAdjustment.
      Adjustment Result FB
      method
      method getAdjustmentResultFB
      DirectionAdjustmentResult getAdjustmentResultFB()
      Package:dji.common.gimbal.XPortState
      Description:

      Gimbal direction adjustment result for direction forwards or backwards.

      Return:
      DirectionAdjustmentResultGet the enum value of DirectionAdjustmentResult.
      Adjustment Suggestion FB
      method
      method getAdjustmentSuggestionFB
      SuggestedDirectionAdjustment getAdjustmentSuggestionFB()
      Package:dji.common.gimbal.XPortState
      Description:

      Suggestion for adjusting the camera forwards or backwards.

      Return:
      SuggestedDirectionAdjustmentGet the enum value of SuggestedDirectionAdjustment.