Skip to main content

ISDKManager

interface ISDKManager

Description: This class is the MSDK entry management class, which is used to initialize and register MSDK, and provide functions such as device connection and device information acquisition.

method init

fun init(ctx: Context, debug: Boolean = BuildConfig.DEBUG, storage: IAutelStorage? = null, log: IAutelLog? = null)

Description: Autel SDK init method

Input parameters: ctx: Context debug: is debug mode storage: IAutelStorage Object log: IAutelLog Object

Output parameters: None。

Related parameters: None。

method init

fun init(context: Context, callback: SDKManagerCallback)

Description: Autel SDK init method

Input parameters: ctx: Context callback: is debug mode

Output parameters: None。

Related parameters: None。

method registerApp

fun registerApp()

Description: Register app

Input parameters: None。

Output parameters: None。

Related parameters: None。

method isRegistered

fun isRegistered(): Boolean

Description: Get the app is registered

Input parameters: None。

Output parameters: None。

Related parameters: return is registered or not

method destroy

fun destroy()

Description: Destroy method when app destroy

Input parameters: None。

Output parameters: None。

Related parameters: None。

method getSDKVersion

fun getSDKVersion(): String

Description: Get version of SDK

Input parameters: None。

Output parameters: return SDK version name

Related parameters: None。

method getDeviceManager

fun getDeviceManager(): IDeviceManager

Description: Get IDeviceManager Object

Input parameters: None。

Output parameters: None。

Related parameters: None。