DJI Mobile SDK Documentation

      class DeviceHealthInformation

      class DeviceHealthInformation
      Package:dji.common.healthmanager
      Description:

      Product Diagnostics device healthy information. Only supported by some components of Matrice 300 RTK and Zenmuse H20 series. It is recommended to use device health information to replace old diagnostics for flight controller and RTK. There will be a few duplicated component error for gimbal, battery, perception module on Matrice 300 RTK. Find error code and detailed description on Github (https://github.com/dji-sdk/Mobile-SDK-Android).

      Class Members:
      Information ID
      method
      method informationId
      long informationId()
      Package:dji.common.healthmanager
      Description:

      A unique code. You can find the detailed information at Github (https://github.com/dji-sdk/Mobile-SDK-Android).

      Return:
      longA long value of the information id.
      Sensor Index
      method
      method sensorIndex
      int sensorIndex()
      Package:dji.common.healthmanager
      Description:

      Sensor index of a certain device module.

      Return:
      intAn int value of the sensor index.
      Component Index
      method
      method componentId
      int componentId()
      Package:dji.common.healthmanager
      Description:

      Added for double camera and double gimbal, this method could return the index of Component.

      Return:
      intAn int value of the component id.
      Warning Level
      method
      method getWarningLevel
      WarningLevel getWarningLevel()
      Package:dji.common.healthmanager
      Description:

      Warning level.

      Return:
      WarningLevelAn enum value of WarningLevel.