[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

api[dji-ios] 37 Components-HandheldController

"
Handheld Controller
	DJIHandheldControllerBaseTypes
	DJIHandheldController
"

DJIHandheldController buildTypedAccessors: #(
	#(delegate NSObject)
)!
DJIHandheldController buildFunctions: #(
	#(setPowerMode:withCompletion: #(mode _completion))
	#(controlLEDWithCommand:withCompletion: #(_command _completion))
	#(setStickGimbalControlEnabled:withCompletion: #(enabled _completion))
	#(getStickGimbalControlEnabledWithCompletion: #(_completion))
	#(setStickControllerMode:withCompletion: #(mode _completion))
	#(getStickControllerModeWithCompletion: #(_completion))
)!

DJIHandheldControllerHardwareState buildBooleanGetters: #(
	isTriggerBeingPressed
)!
DJIHandheldControllerHardwareState buildNumberGetters: #(
	recordAndShutterButtons
	triggerButton
	stickVerticalDirection
	stickHorizontalDirection
)!
DJIHandheldControllerHardwareState buildTypedGetters: #(
	#(stick DJIStick)
)!


DJIHandheldControllerLEDColorPattern buildNumberAccessors: #(
	repeatTimes
)!
DJIHandheldControllerLEDColorPattern buildAccessors: #(
	pattern
)!

NSObject
	subclass: #DJIHandheldControllerLEDCommand
	category: #Components-HandheldController!

DJIHandheldControllerLEDCommand buildNumberAccessors: #(
	red green blue
)!