[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
api[dji-ios] 20 SDKManager
"SDK Manager
DJISDKManager
DJIBluetoothProductConnector
"
DJISDKManager buildStaticFunctions: #(
#(bluetoothProductConnector DJIBluetoothProductConnector)
#(registerAppWithDelegate: #(_delegate))
#(setCompletionBlockQueue: #(_completionBlockQueue))
#(setDisableCountryCodeCheck: #(disableCountryCodeCheck))
startConnectionToProduct
stopConnectionToProduct
#(closeConnectionWhenEnteringBackground: #(isClose))
#(enableBridgeModeWithBridgeAppIP: #(bridgeAppIP))
#(enableRemoteLoggingWithDeviceID:logServerURLString: #(deviceID url))
uploadArchivedLogs
#(startBridgeAppServerWithCompletion: #(_block))
#(setBridgeAppServerDelegate: #(_delegate))
stopSDKDebugServer
)!
! DJISDKManager class methodsFor: #accessing !
sdkVersion
" Returns the SDKVersion string. "
^self nativeClass basicAt: #SDKVersion! !
! DJISDKManager class methodsFor: #accessing !
hasSDKRegistered
" Returns true if the SDK has been registered. "
^Boolean @ (self nativeClass basicAt: #hasSDKRegistered)! !
! DJISDKManager class methodsFor: #accessing !
product
" Returns the managed product. "
^DJIBaseProduct @ (self nativeClass basicAt: #product)! !
! DJISDKManager class methodsFor: #accessing !
keyManager
" Returns the managed keyManager. "
^DJIKeyManager @ (self nativeClass basicAt: #keyManager)! !
! DJISDKManager class methodsFor: #accessing !
flyZoneManager
" Returns the managed flyZoneManager. "
^DJIFlyZoneManager @ (self nativeClass basicAt: #flyZoneManager)! !
! DJISDKManager class methodsFor: #accessing !
missionControl
" Returns the managed missionControl. "
^DJIMissionControl @ (self nativeClass basicAt: #missionControl)! !
! DJISDKManager class methodsFor: #accessing !
videoFeeder
" Returns the managed videoFeeder. "
^DJIVideoFeeder @ (self nativeClass basicAt: #videoFeeder)! !
! DJISDKManager class methodsFor: #accessing !
archiveLogs
" Return path of archived logs, nil if a problem occurred. "
| path |
path := self nativeClass basicAt: #archiveLogs.
^path notNil ifTrue: [ path toString ]! !
DJIBluetoothProductConnector buildTypedAccessors: #(
#(delegate NSObject)
)!
DJIBluetoothProductConnector buildFunctions: #(
#(searchBluetoothProductsWithCompletion: #(_completion))
#(connectProduct:withCompletion: #(_product _completion))
#(disconnectProductWithCompletion: #(_completion))
)!