class DJIHandheldControllerHardwareState
@interface DJIHandheldControllerHardwareState : NSObject
|
Header: | DJIHandheldControllerBaseTypes.h |
Inherits From: | NSObject |
Description:
The status of the shutter button and record button on the handheld controller. Used by Osmo Mobile only.
Class Members:
property triggerButton
@property(nonatomic, readonly) DJIHandheldButtonClickEvent triggerButton
|
Header: | DJIHandheldControllerBaseTypes.h |
Description:
Status of the trigger button.
See Also:
DJIHandheldButtonClickEvent
property isTriggerBeingPressed
@property(nonatomic, readonly) BOOL isTriggerBeingPressed
|
Header: | DJIHandheldControllerBaseTypes.h |
Description:
YES
when the trigger is being pressed. It is only supported in firmware version 1.2.0.40 or above.
property stickVerticalDirection
@property(nonatomic, readonly) DJIHandheldStickVerticalDirection stickVerticalDirection
|
Header: | DJIHandheldControllerBaseTypes.h |
Description:
Status of the joystick in vertical direction.
See Also:
DJIHandheldStickVerticalDirection
property stickHorizontalDirection
@property(nonatomic, readonly) DJIHandheldStickHorizontalDirection stickHorizontalDirection
|
Header: | DJIHandheldControllerBaseTypes.h |
Description:
Status of the joystick in horizontal direction.
See Also:
DJIHandheldStickHorizontalDirection
Joystick Position
property
property stick
@property(nonatomic, readonly) DJIStick stick
|
Header: | DJIHandheldControllerBaseTypes.h |
Description:
Position of the stick in both vertical and horizontal direction. Only supported in firmware version 1.2.0.40 or above.
See Also:
DJIStick
property zoomSlider
@property(nonatomic, readonly) DJIHandheldZoomSlider zoomSlider
|
Header: | DJIHandheldControllerBaseTypes.h |
Description:
Status of the zoom slider. It is only supported by Osmo Mobile 2.
See Also:
DJIHandheldZoomSlider
enum DJIHandheldButtonClickEvent
typedef NS_ENUM (uint8_t, DJIHandheldButtonClickEvent)
|
Header: | DJIHandheldControllerBaseTypes.h |
Description:
The status of the shutter button and record button on the handheld controller.
Enum Members:
DJIHandheldButtonClickEventIdle | Trigger button status is idle. |
DJIHandheldButtonClickEventSingleClick | Trigger button is pressed and released. |
DJIHandheldButtonClickEventDoubleClick | Trigger button is pressed twice quickly. |
DJIHandheldButtonClickEventTripleClick | Trigger button is pressed three times quickly. |
DJIHandheldButtonClickEventUnknown | Trigger button status is unknown. |
enum DJIHandheldStickVerticalDirection
typedef NS_ENUM (uint8_t, DJIHandheldStickVerticalDirection)
|
Header: | DJIHandheldControllerBaseTypes.h |
Description:
Status of the handheld joystick in vertical direction.
Enum Members:
DJIHandheldStickVerticalDirectionMiddle | Joystick has no movement in the vertical direction. |
DJIHandheldStickVerticalDirectionUp | Joystick is moved up in the vertical direction. |
DJIHandheldStickVerticalDirectionDown | Joystick is moved down in the vertical direction. |
DJIHandheldStickVerticalDirectionUnknown | Joystick status in the vertical direction is unknown. |
enum DJIHandheldStickHorizontalDirection
typedef NS_ENUM (uint8_t, DJIHandheldStickHorizontalDirection)
|
Header: | DJIHandheldControllerBaseTypes.h |
Description:
Status of the handheld joystick in horizontal direction.
Enum Members:
DJIHandheldStickHorizontalDirectionMiddle | Joystick has no movement in the horizontal direction. |
DJIHandheldStickHorizontalDirectionLeft | Joystick is moved left in the horizontal direction. |
DJIHandheldStickHorizontalDirectionRight | Joystick is moved right in the horizontal direction. |
DJIHandheldStickHorizontalDirectionUnknown | Joystick status in the horizontal direction is unknown. |