java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.remotecontroller.DJIRCHardwareState.DJIRemoteControllerFlightModeSwitchPosition |
Remote Controller Flight Mode switch position.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIRCHardwareState.DJIRemoteControllerFlightModeSwitchPosition | One | Position One. | |||||||||
DJIRCHardwareState.DJIRemoteControllerFlightModeSwitchPosition | Three | Position Three. | |||||||||
DJIRCHardwareState.DJIRemoteControllerFlightModeSwitchPosition | Two | Position Two. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
_equals(int b)
Returns the boolean result which compare the input integer value with the real value of a enum constant.
| ||||||||||
static DJIRCHardwareState.DJIRemoteControllerFlightModeSwitchPosition |
find(ProductType productType, int value)
Returns the enum constant of this type with the input integer value.
| ||||||||||
int |
value()
Returns the real value of an enum constant.
| ||||||||||
static DJIRCHardwareState.DJIRemoteControllerFlightModeSwitchPosition | valueOf(String name) | ||||||||||
final static DJIRemoteControllerFlightModeSwitchPosition[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Position One. For all products except Mavic Pro, this is the left most position of the flight mode switch on a remote controller from the perspective of the pilot. For example, on a Phantom 4 remote controller, Position One is labeled "A". For the Mavic Pro, this is the position that is furthest away from the pilot and labeled "Sport".
Position Three. For all products except Mavic Pro, this is the right most position of the flight mode switch on a remote controller from the perspective of the pilot. For example, on a Phantom 4 remote controller, Position Two is labeled "P". The Mavic Pro does not have a third position for the flight mode switch.
Position Two. For all products except Mavic Pro, this is the middle position of the flight mode switch on a remote controller from the perspective of the pilot. For example, on a Phantom 4 remote controller, Position Two is labeled "S". For the Mavic Pro, this is the position that is closest to the pilot (the P position).
Returns the boolean result which compare the input integer value with the real value of a enum constant.
Returns the enum constant of this type with the input integer value.
Returns the real value of an enum constant.