DJI Mobile SDK Documentation

      class HandheldControllerKey

      class HandheldControllerKey extends DJIKey
      Package:dji.keysdk
      Inherits From:DJIKey
      Description:

      HandheldControllerKey provides dedicated access to all handheld controller attributes.

      Class Members:
      method
      method create
      static HandheldControllerKey create(@HandheldControllerParamKey @NonNull String paramKey)
      Package:dji.keysdk
      Description:

      Creates a HandheldController key.

      Input Parameters:
      @HandheldControllerParamKey @NonNull String paramKeyA valid paramKey.
      Return:
      static HandheldControllerKeyHandheld Controller Key
      Inherited Methods:
      Class Keys:

      IS_MODE_BUTTON_BEING_PRESSED

      Access:

      PUSH

      Type:

      Boolean

      API:

      -

      MODE_BUTTON

      Access:

      PUSH

      Type:

      HandheldButtonClickEvent

      API:

      HandheldButtonClickEvent

      STICK_HORIZONTAL_DIRECTION

      Access:

      PUSH

      Type:

      StickHorizontalDirection

      API:

      getStickHorizontalDirection

      StickHorizontalDirection

      COMPONENT_KEY

      Access:

      -

      Type:

      -

      API:

      -

      POWER_MODE

      Access:

      PUSH, SET

      Type:

      PowerMode

      API:

      setPowerModeCallback

      setPowerMode

      onUpdate

      PowerMode

      HANDHELD_NAME

      Access:

      SET, GET

      Type:

      String

      API:

      -

      IS_TRIGGER_BEING_PRESSED

      Access:

      PUSH

      Type:

      Boolean

      API:

      isTriggerBeingPressed

      TRIGGER_BUTTON

      Access:

      PUSH

      Type:

      HandheldButtonClickEvent

      API:

      getTriggerButton

      HandheldButtonClickEvent

      LED_COMMAND

      Access:

      ACTION

      Type:

      -

      API:

      controlLEDWithCommand

      LEDCommand

      STICK

      Access:

      PUSH

      Type:

      -

      API:

      getStick

      STICK_GIMBAL_CONTROL_ENABLED

      Access:

      PUSH, SET

      Type:

      -

      API:

      setStickGimbalControlEnabled

      getStickGimbalControlEnabled

      STICK_VERTICAL_DIRECTION

      Access:

      PUSH

      Type:

      StickVerticalDirection

      API:

      getStickVerticalDirection

      StickVerticalDirection

      FULL_SERIAL_NUMBER_HASH

      Access:

      GET

      Type:

      String

      API:

      -

      RECORD_AND_SHUTTER_BUTTONS

      Access:

      PUSH

      Type:

      RecordAndShutterButtons

      API:

      getRecordAndShutterButtons

      RecordAndShutterButtons

      SERIAL_NUMBER

      Access:

      GET

      Type:

      String

      API:

      -