DJI Mobile SDK Documentation

      class OnboardSDKDeviceDataCallback

      interface OnboardSDKDeviceDataCallback
      Package:dji.sdk.flightcontroller
      Description:

      Callback function that updates the data received from an external device (e.g.the onboard device).

      Class Members:

      Callback Method

      State
      method
      method onReceive
      void onReceive(byte[] data)
      Package:dji.sdk.flightcontroller
      Description:

      Called when the data received from an external device (e.g. the onboard device) has been updated.

      Input Parameters:
      byte[] dataData received from an external device. The size of the data will not be larger than 100 bytes.