DJI Mobile SDK Documentation

      class PayloadKey

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

      PayloadKey provides dedicated access to Flight controller attributes.

      Inherited Methods:
      Class Keys:

      CONFIG_INTERFACE_PAYLOAD_WIDGETS

      Access:

      PUSH

      Type:

      PayloadWidget[]

      API:

      -

      SERIAL_NUMBER

      Access:

      GET

      Type:

      String

      API:

      -

      PAYLOAD_MODEL

      Access:

      PUSH

      Type:

      PayloadProductPhase

      API:

      -

      FIRMWARE_VERSION

      Access:

      GET

      Type:

      String

      API:

      -

      SEND_DATA_TO_PAYLOAD

      Access:

      ACTION

      Type:

      byte[]

      API:

      -

      IS_ACCESSORY_CONNECT

      Access:

      PUSH

      Type:

      Boolean

      API:

      -

      CONNECTION

      Access:

      PUSH

      Type:

      Boolean

      API:

      -

      PAYLOAD_WIDGETS_LIST_INFO

      Access:

      PUSH

      Type:

      PayloadFileInfo[]

      API:

      -

      GET_INPUT_TEXT_PARAM

      Access:

      GET

      Type:

      PayloadTextParam

      API:

      -

      GET_PAYLOAD_CAMERA_TYPE

      Access:

      GET

      Type:

      PayloadCameraType

      API:

      -

      IS_PAYLOAD_SDK_READY

      Access:

      PUSH

      Type:

      Boolean

      API:

      -

      GET_WIDGET

      Access:

      ACTION

      Type:

      -

      API:

      -

      GET_DATA_FROM_PAYLOAD

      Access:

      PUSH

      Type:

      byte[]

      API:

      -

      GET_UPSTREAM_BANDWIDTH

      Access:

      GET

      Type:

      Float

      API:

      -

      PAYLOAD_DEVICE_TYPE

      Access:

      PUSH

      Type:

      PayloadDeviceType

      API:

      -

      CONFIGURE_WIDGET_VALUE

      Access:

      ACTION

      Type:

      -

      API:

      -

      MAIN_INTERFACE_PAYLOAD_WIDGETS

      Access:

      PUSH

      Type:

      PayloadWidget[]

      API:

      -

      IS_DJI_VIDEO_STREAMING_CHANNEL_AVAILABLE

      Access:

      PUSH

      Type:

      Boolean

      API:

      -

      PAYLOAD_PRODUCT_NAME

      Access:

      PUSH

      Type:

      String

      API:

      -

      HINT_MESSAGE

      Access:

      PUSH

      Type:

      String

      API:

      -