| java.lang.Object | |
| ↳ | dji.common.handheld.DJIHandheldControllerHardwareState |
Handheld controller's current state. Used by Osmo Mobile only.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DJIHandheldControllerHardwareState() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DJIHandheldButtonStatus |
getHandheldButtonStatus()
Status of the shutter button and record button.
| ||||||||||
| JoystickHorizontalDirection |
getJoystickHorizontalDirection()
Status of the joystick in horizontal direction.
| ||||||||||
| int |
getJoystickHorizontalPosition()
Position of the joystick in the horizontal direction.
| ||||||||||
| JoystickVerticalDirection |
getJoystickVerticalDirection()
Status of the joystick in vertical direction.
| ||||||||||
| int |
getJoystickVerticalPosition()
Position of the joystick in the vertical direction.
| ||||||||||
| DJIHandheldTriggerStatus |
getTriggerState()
Status of the trigger button.
| ||||||||||
| boolean |
isTriggerBeingPressed()
true if the trigger button is being pressed. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Status of the shutter button and record button.
Status of the joystick in horizontal direction.
Position of the joystick in the horizontal direction. Position values can be in range [-660, 660] where positive is left and 0 is center. Only supported in firmware version 1.2.0.40 or above.
Status of the joystick in vertical direction.
Position of the joystick in the vertical direction. Position values can be in range [-660, 660] where positive is up and 0 is center. Only supported in firmware version 1.2.0.40 or above.
true if the trigger button is being pressed.
It is only supported in firmware version 1.2.0.40 or above.