| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | dji.sdk.Gimbal.DJIGimbal.DJIGimbalRotateDirection | |
Gimbal rotate direction.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DJIGimbal.DJIGimbalRotateDirection | Clockwise | Sets the gimbal to rotate clockwise. | |||||||||
| DJIGimbal.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 DJIGimbal.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 DJIGimbal.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.