DJI Mobile SDK Documentation

      class IDeviceHealthManager

      interface IDeviceHealthManager
      Package:dji.v5.manager.interfaces
      Description:

      Class that is used to manage device health. Users can get and monitor the health information of each module. For example, Camera overheated, Flight control system error, Battery Maintenance Required, etc.

      Supported since MSDK 5.0.0

      Class Members:
      method addDJIDeviceHealthInfoChangeListener
      void addDJIDeviceHealthInfoChangeListener(DJIDeviceHealthInfoChangeListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Add the listener of the device helth information.

      Supported since MSDK 5.0.0

      Input Parameters:
      DJIDeviceHealthInfoChangeListener listenerListener of the device health information.
      method removeDJIDeviceHealthInfoChangeListener
      void removeDJIDeviceHealthInfoChangeListener(DJIDeviceHealthInfoChangeListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Remove the listener of the device helth information.

      Supported since MSDK 5.0.0

      Input Parameters:
      DJIDeviceHealthInfoChangeListener listenerListener of the device health information.
      method clearAllListeners
      void clearAllListeners()
      Package:dji.v5.manager.interfaces
      Description:

      Remove all listeners of device health information.

      Supported since MSDK 5.0.0

      method getCurrentDJIDeviceHealthInfos
      List<DJIDeviceHealthInfo> getCurrentDJIDeviceHealthInfos()
      Package:dji.v5.manager.interfaces
      Description:

      Get the currnet device health information.

      Supported since MSDK 5.0.0

      Return:
      List<DJIDeviceHealthInfo>Return the currnet device health information.