DJIHandheldControllerHardwareState
@interface DJIHandheldControllerHardwareState : NSObject
Handheld controller’s current hardware state. Used by Osmo Mobile only.
-
Status of the shutter button and record button.
Declaration
Objective-C
@property (readonly, nonatomic) DJIHandheldButtonStatus handheldButtonStatus;
-
YES
when the trigger is being pressed. It is only supported in firmware version 1.2.0.40 or above.Declaration
Objective-C
@property (readonly, nonatomic) BOOL isTriggerBeingPressed;
-
Status of the trigger button.
Declaration
Objective-C
@property (readonly, nonatomic) DJIHandheldTriggerStatus triggerState;
-
Status of the joystick in vertical direction.
Declaration
Objective-C
@property (readonly, nonatomic) DJIHandheldJoystickVerticalDirection joystickVerticalDirection;
-
Status of the joystick in horizontal direction.
Declaration
Objective-C
@property (readonly, nonatomic) DJIHandheldJoystickHorizontalDirection joystickHorizontalDirection;
-
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.
Declaration
Objective-C
@property (readonly, nonatomic) NSInteger joystickVerticalPosition;
-
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.
Declaration
Objective-C
@property (readonly, nonatomic) NSInteger joystickHorizontalPosition;