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

api[dji-ios] 32 Components-RemoteController

"
RemoteController
	DJIRemoteControllerBaseTypes
	DJIRemoteController
	DJIMobileRemoteController
"

DJIRemoteController buildTypedAccessors: #(
	#(delegate NSObject)
)!
DJIRemoteController buildFunctions: #(
	isFocusControllerSupported
	#(setName:withCompletion: #(name _completion))
	#(getNameWithCompletion: #(_completion))
	#(setPassword:withCompletion: #(password _completion))
	#(getPasswordWithCompletion: #(_completion))
	#(setAircraftMappingStyle:withCompletion: #(style _completion))
	#(getAircraftMappingStyleWithCompletion: #(_completion))
	#(setCustomAircraftMapping:withCompletion: #(mapping _completion))
	#(getCustomAircraftMappingWithCompletion: #(_completion))
	#(startPairingWithCompletion: #(_completion))
	#(stopPairingWithCompletion: #(_completion))
	#(getPairingStateWithCompletion: #(_completion))
	#(setChargeMobileMode:withCompletion: #(mode _completion))
	#(getChargeMobileModeWithCompletion: #(_completion))
	#(setLeftWheelGimbalControlAxis:withCompletion: #(axis _completion))
	#(getLeftWheelGimbalControlAxisWithCompletion: #(_completion))
	#(setCustomButtonTags:withCompletion: #(tags _completion))
	#(getCustomButtonTagsWithCompletion: #(_completion))
	#(setC1ButtonBindingEnabled:withCompletion: #(enabled _completion))
	#(getC1ButtonBindingEnabledWithCompletion: #(_completion))
	isMasterSlaveModeSupported
	#(setMode:withCompletion: #(mode _completion))
	#(getModeWithCompletion: #(_completion))
	#(getMasterSlaveConnectionStateWithCompletion: #(_completion))
	#(connectToMasterWithCredentials:withCompletion: #(credentials _completion))
	#(getConnectedMasterCredentials: #(_completion))
	#(startMasterSearchingWithUpdateBlock:withCompletion: #(_updateBlock _completion))
	#(stopMasterSearchingWithCompletion: #(_completion))
	#(getMasterSearchingStateWithCompletion: #(_completion))
	#(requestGimbalControlWithCompletion: #(_completion))
	#(setGimbalMappingStyle:withCompletion: #(style _completion))
	#(getGimbalMappingStyleWithCompletion: #(_completion))
	#(setCustomGimbalMapping:withCompletion: #(mapping _completion))
	#(getCustomGimbalMappingWithCompletion: #(_completion))
	#(setGimbalControlSpeedCoefficient:withCompletion: #(speedCoefficient _completion))
	#(getGimbalControlSpeedCoefficientWithCompletion: #(_completion))
	#(getSlaveListWithCompletion: #(_completion))
	#(respondToRequestForGimbalControl:fromSlaveRC: #(response rcID))
	#(setMasterAuthorizationCode:withCompletion: #(authorizationCode _completion))
	#(getMastersWithCompletion: #(_completion))
	#(connectToMasterWithID:authorizationCode:withCompletion: #(masterID code _completion))
)!

DJIMobileRemoteController buildNumberGetters: #(
	leftStickVertical
	leftStickHorizontal
	rightStickVertical
	rightStickHorizontal
)!

DJIRCInformation buildNumberGetters: #(
	ID
)!
DJIRCInformation buildGetters: #(
	name password
	signalQuality
	RCIdentifier
)!
DJIRCInformation buildBooleanGetters: #(
	hasGimbalControlPermission
)!

DJIRCMasterSlaveState buildNumberGetters: #(
	mode
)!
DJIRCMasterSlaveState buildGetters: #(
	masterID slaveID authorizationCode
)!
DJIRCMasterSlaveState buildBooleanGetters: #(
	isConnected
)!

DJIRCCredentials buildNumberGetters: #(
	ID
)!
DJIRCCredentials buildGetters: #(
	name password
)!
DJIRCCredentials buildStaticFunctions: #(
	#(credentialsWithID:name:password: #(id name password) DJIRCCredentials)
)!

DJIRCAircraftMapping buildNumberGetters: #(
	leftVertical leftHorizontal
	rightVertical rightHorizontal
)!
DJIRCAircraftMapping buildStaticFunctions: #(
	#(mappingWithStyle: #(style) DJIRCAircraftMapping)
	#(mappingWithCustomMappingLeftVertical:leftHorizontal:rightVertical:rightHorizontal:
		#(leftVertical leftHorizontal rightVertical rightHorizontal)
		DJIRCAircraftMapping)
)!

DJIRCGimbalMapping buildStaticFunctions: #(
	#(mappingWithDefaultStyle DJIRCGimbalMapping)
	#(mappingWithCustomMappingLeftVertical:leftHorizontal:rightVertical:rightHorizontal:
		#(leftVertical leftHorizontal rightVertical rightHorizontal) DJIRCGimbalMapping)
)!
DJIRCGimbalMapping buildNumberGetters: #(
	leftVertical leftHorizontal
	rightVertical rightHorizontal
)!

DJIRCCustomButtonTags buildNumberGetters: #(
	c1ButtonTag
	c2ButtonTag
)!
! DJIRCCustomButtonTags class methodsFor: #instantiation !
withC1ButtonTag: c1ButtonTag andC2ButtonTag: c2ButtonTag
	" Returns an instance of the receiver. "

	^self @ (self nativeClass
		#instanceWithC1ButtonTag: c1ButtonTag
		 andC2ButtonTag: c2ButtonTag)! !