DJI Mobile SDK Documentation

      class CommandDataCallback

      interface CommandDataCallback
      Package:dji.sdk.payload
      Description:

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

      Class Members:

      Callback Method

      State
      method
      method onGetCommandData
      void onGetCommandData(byte[] data)
      Package:dji.sdk.payload
      Description:

      When the payload send some command bytes to the Mobile SDK, this method will be called.

      Input Parameters:
      byte[] dataThe received command data.