public final enum

DJIGimbalRotateDirection

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.common.gimbal.DJIGimbalRotateDirection

Class Overview

Gimbal rotate direction.

Summary

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

Enum Values

public static final DJIGimbalRotateDirection Clockwise

Sets the gimbal to rotate clockwise.
For pitch axis, gimbal will turn down.

public static final DJIGimbalRotateDirection CounterClockwise

Sets the gimbal to rotate counter-clockwise.
For pitch axis, gimbal will turn up.

Public Methods

public boolean _equals (int b)

Returns the boolean result of comparing the specified integer value with the real value of an enum constant.

Parameters
b The input integer value
Returns
  • boolean The comparison result.

public static DJIGimbalRotateDirection find (int value)

Returns the enum constant of this type with the specified integer value.

Parameters
value The integer value.
Returns
  • The enum constant of this type.

public int value ()

Returns the real value of an enum constant.

Returns
  • integer The real value

public static DJIGimbalRotateDirection valueOf (String name)

public static final DJIGimbalRotateDirection[] values ()