public static class

DJIRCHardwareState.DJIRCFiveDButton

extends Object
java.lang.Object
   ↳ dji.common.remotecontroller.DJIRCHardwareState.DJIRCFiveDButton

Class Overview

Movement direction of the remote controller's 5D button.

Summary

Fields
public boolean buttonPressed true if the 5D button is pressed down
public boolean isPresent true if 5D button is present.
Public Constructors
DJIRCFiveDButton(boolean buttonUp, boolean buttonDown, boolean buttonLeft, boolean buttonRight, boolean buttonPressed)
Public Methods
DJIRCHardwareState.DJIRCFiveDButtonDirection getHorizontalMovement()
get the movement in the horizontal direction of the 5D button.
DJIRCHardwareState.DJIRCFiveDButtonDirection getVerticalMovement()
get the movement in the vertical direction of the 5D button.
boolean isButtonDown()
boolean isButtonLeft()
boolean isButtonRight()
boolean isButtonUp()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public boolean buttonPressed

true if the 5D button is pressed down

public boolean isPresent

true if 5D button is present.

Public Constructors

public DJIRCFiveDButton (boolean buttonUp, boolean buttonDown, boolean buttonLeft, boolean buttonRight, boolean buttonPressed)

Public Methods

public DJIRCHardwareState.DJIRCFiveDButtonDirection getHorizontalMovement ()

get the movement in the horizontal direction of the 5D button. Right is the positive direction and left is the negative direction.

public DJIRCHardwareState.DJIRCFiveDButtonDirection getVerticalMovement ()

get the movement in the vertical direction of the 5D button. Up is the positive direction and down is the negative direction.

public boolean isButtonDown ()

public boolean isButtonLeft ()

public boolean isButtonRight ()

public boolean isButtonUp ()