DJI Mobile SDK Documentation

      class HintMessageCallback

      interface HintMessageCallback
      Package:dji.sdk.payload
      Description:

      This interface provides a callback to get messages sent from payload to the Mobile SDK.

      Class Members:

      Callback Method

      State
      method
      method onGetMessage
      void onGetMessage(String str)
      Package:dji.sdk.payload
      Description:

      when the payload send some message string to the Mobile SDK, this method will be called.

      Input Parameters:
      String strHint message string.
      method setMainInterfaceWidgetsListener
      void setMainInterfaceWidgetsListener(PayloadWidgetListener listener)
      Package:dji.sdk.payload
      Description:

      Updates a set of payload shortcuts in main interface. if the pay load's data is invalid, an empty array will be updated. It is only supported by DJI Skyport 2.0 and DJI X-Port.

      Input Parameters:
      PayloadWidgetListener listenerThe listener received the updated widget values.
      method setConfigWidgetsListener
      void setConfigWidgetsListener(PayloadWidgetListener listener)
      Package:dji.sdk.payload
      Description:

      Updates setting for payload widgets. If the pay load's data is invalid, an empty array will be updated.

      Input Parameters:
      PayloadWidgetListener listenerThe listener received the updated widget values.