Skip to main content

Remote Controller Device Interface

interface IAutelRemoteDevice

Description: Remote Controller Device Interface

method getATKeyManager

fun getATKeyManager(): IKeyManager

Description: Gets the ATService business KeyManager.

Input Parameters: None.

Output Parameters: IKeyManager.

Related Parameters: IKeyManager

method getRemoteSn

fun getRemoteSn(onSuccess: (String) -> Unit)

Description: Gets the remote controller SN number.

Input Parameters: onSuccess:Callback function.

Output Parameters: None.

Related Parameters: String

method getSnImmediately

fun getSnImmediately():String?

Description: Immediately returns the cached SN, which may be null.

Input Parameters: None.

Output Parameters: String

Related Parameters: String

method rebootDevice

fun rebootDevice(): Boolean

Description: Reboots the remote control device.

Input Parameters: None.

Output Parameters: Boolean

Related Parameters: Boolean

method getDeviceStateData

fun getDeviceStateData(): RemoteCacheData

Description: Gets the device cache data.

Input Parameters: None.

Output Parameters: RemoteCacheData

Related Parameters: RemoteCacheData

method getRcType

fun getRcType():String?

Description: Gets the remote controller type.

Input Parameters: None.

Output Parameters: String

Related Parameters: String

method getVersion

fun getVersion():String?

Description: Gets the remote controller version.

Input Parameters: None.

Output Parameters: String

Related Parameters: String