DJI Mobile SDK Documentation

      class DJIDeviceStatusChangeListener

      interface DJIDeviceStatusChangeListener
      Package:dji.v5.manager.diagnostic
      Description:

      Listener of the device status.

      Supported since MSDK 5.0.0

      Class Members:
      method onDeviceStatusUpdate
      void onDeviceStatusUpdate(DJIDeviceStatus from, DJIDeviceStatus to)
      Package:dji.v5.manager.diagnostic
      Description:

      The listener will be triggered when the device status has changed.

      Supported since MSDK 5.0.0

      Input Parameters:
      DJIDeviceStatus fromThe previous state of device.
      DJIDeviceStatus toThe current state of device.