# 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

###### 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 listener | Listener of the device health information.

method
removeDJIDeviceHealthInfoChangeListener

###### 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 listener | Listener of the device health information.

method
clearAllListeners

###### 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

###### 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.

##### Related:

class
DJIDeviceHealthInfo
class
DJIDeviceHealthInfoChangeListener
×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found