java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.gimbal.DJIGimbalRotateDirection |
Gimbal rotate direction.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIGimbalRotateDirection | Clockwise | Sets the gimbal to rotate clockwise. | |||||||||
DJIGimbalRotateDirection | CounterClockwise | Sets the gimbal to rotate counter-clockwise. |
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 DJIGimbalRotateDirection |
find(int value)
Returns the enum constant of this type with the specified integer value.
| ||||||||||
int |
value()
Returns the real value of an enum constant.
| ||||||||||
static DJIGimbalRotateDirection | valueOf(String name) | ||||||||||
final static DJIGimbalRotateDirection[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Sets the gimbal to rotate clockwise.
For pitch axis, gimbal will turn down.
Sets the gimbal to rotate counter-clockwise.
For pitch axis, gimbal will turn up.
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 with the specified integer value.
value | The integer value. |
---|
Returns the real value of an enum constant.