# class IDeviceStatusManager

    interface IDeviceStatusManager

Package: | dji.v5.manager.interfaces

##### Description:

Class that is used to manage device status. Users can get and monitor device status. For example, Aircraft disconnected, Sensor Error, Low Voltage Warning, etc.
`Supported since MSDK 5.0.0`

##### Class Members:

method
addDJIDeviceStatusChangeListener

###### method addDJIDeviceStatusChangeListener

    void addDJIDeviceStatusChangeListener(DJIDeviceStatusChangeListener listener)

Package: | dji.v5.manager.interfaces

##### Description:

Add the listener of the device status.
`Supported since MSDK 5.0.0`

##### Input Parameters:

DJIDeviceStatusChangeListener listener | Listener of the device status.

method
removeDJIDeviceStatusChangeListener

###### method removeDJIDeviceStatusChangeListener

    void removeDJIDeviceStatusChangeListener(DJIDeviceStatusChangeListener listener)

Package: | dji.v5.manager.interfaces

##### Description:

Remove the listener of the device status.
`Supported since MSDK 5.0.0`

##### Input Parameters:

DJIDeviceStatusChangeListener listener | Listener of the device status.

method
clearAllListeners

###### method clearAllListeners

    void clearAllListeners()

Package: | dji.v5.manager.interfaces

##### Description:

Remove all listeners of the device status.
`Supported since MSDK 5.0.0`

method
getCurrentDJIDeviceStatus

###### method getCurrentDJIDeviceStatus

    DJIDeviceStatus getCurrentDJIDeviceStatus()

Package: | dji.v5.manager.interfaces

##### Description:

Get the current device status.
`Supported since MSDK 5.0.0`

##### Return:

DJIDeviceStatus | Return the current device status.

##### Related:

enum
DJIDeviceStatus

###### enum DJIDeviceStatus

    enum DJIDeviceStatus implements IDJIDeviceStatus

Package: | dji.v5.manager.diagnostic

##### Description:

Device status class. It is used to get the device status.
`Supported since MSDK 5.0.0`

##### Class Members:

method
statusCode

###### method statusCode

    @Override
     String statusCode()

Package: | dji.v5.manager.diagnostic

##### Description:

Get the device status code.
`Supported since MSDK 5.0.0`

##### Return:

String | Return the device status code.

method
description

###### method description

    @Override
     String description()

Package: | dji.v5.manager.diagnostic

##### Description:

Get the device status description.
`Supported since MSDK 5.0.0`

##### Return:

String | Return the device status description.

method
warningLevel

###### method warningLevel

    WarningLevel warningLevel()

Package: | dji.v5.manager.diagnostic

##### Description:

Get the device status warning level.
`Supported since MSDK 5.0.0`

##### Return:

WarningLevel | Return the device status warning level.

enum
WarningLevel

###### enum WarningLevel

    enum WarningLevel

Package: | dji.v5.manager.diagnostic

##### Description:

Waring level class.
`Supported since MSDK 5.0.0`

##### Enum Members:

NORMAL | Normal.
NOTICE | Notice.
CAUTION | Caution.
WARNING | Warning.
SERIOUS_WARNING | Serious warning.

##### Class Members:

class
DJIDeviceStatusChangeListener
×

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