java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.handheld.DJIHandheldPowerMode |
Created by hai on 5/26/16. Handheld power mode.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIHandheldPowerMode | Awake | The Handheld Power Mode is awake. | |||||||||
DJIHandheldPowerMode | PowerOff | The Handheld Power Mode is power-off. | |||||||||
DJIHandheldPowerMode | Sleeping | The Handheld Power Mode is sleeping. | |||||||||
DJIHandheldPowerMode | Unknown | The Handheld Power Mode is unknown |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
_equals(int b)
Returns the boolean result of comparing the specified integer value with the
real value of an enum constant.
| ||||||||||
static DJIHandheldPowerMode |
find(int value)
Returns the enum constant of this type, the specified integer value.
| ||||||||||
int |
value()
Returns the real value of an enum constant.
| ||||||||||
static DJIHandheldPowerMode | valueOf(String name) | ||||||||||
final static DJIHandheldPowerMode[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The Handheld Power Mode is awake. For Osmo, when it is in this mode, all the components in DJIHandheld are accessible.
The Handheld Power Mode is power-off. Once this mode is set the callback will receive this mode until the handheld device is shut down completely.
The Handheld Power Mode is sleeping. The handheld controller keeps the WiFi connection to the Mobile device alive but most other components are off. The power consumption is low in this mode. For Osmo, when it is in this mode, only the DJIHandheldController, DJIBattery and DJIAirLink are accessible.
Returns the boolean result of comparing the specified integer value with the real value of an enum constant.
b | The input integer value. |
---|
Returns the enum constant of this type, the specified integer value.
value | The integer value. |
---|
Returns the real value of an enum constant.