| Package: | dji.v5.manager.interfaces |
classSince MSDK 5.0.0
IDeviceHealthManager
Class that is used to manage device health.
Description:
method
addDJIDeviceHealthInfoChangeListener
void addDJIDeviceHealthInfoChangeListener(DJIDeviceHealthInfoChangeListener listener) |
Add the listener of the device helth information.
Parameters
| Name | Type | Description |
|---|---|---|
listener | DJIDeviceHealthInfoChangeListener | Listener of the device health information. |
method
removeDJIDeviceHealthInfoChangeListener
void removeDJIDeviceHealthInfoChangeListener(DJIDeviceHealthInfoChangeListener listener) |
Remove the listener of the device helth information.
Parameters
| Name | Type | Description |
|---|---|---|
listener | DJIDeviceHealthInfoChangeListener | Listener of the device health information. |
method
method
clearAllListeners
void clearAllListeners() |
Remove all listeners of device health information.
method
getCurrentDJIDeviceHealthInfos
List |
Get the currnet device health information.
Return
| Name | Description |
|---|---|
List<DJIDeviceHealthInfo> | Return the currnet device health information. |
Related:
class
class
DJIDeviceHealthInfo
Since MSDK 5.0.0class DJIDeviceHealthInfo implements IDJIDeviceHealthInfo |
Device health class.
class
DJIDeviceHealthInfoChangeListener
Since MSDK 5.0.0interface DJIDeviceHealthInfoChangeListener |
Listener of the device health information.