PublicAssistantLib

Api to work with smart assistant features on device.

Functions

Link copied to clipboard
abstract fun cancelAssistantSpeech(appInfo: String)

Cancels current speech from assistant. Only if it was started by the current app. Format of appInfo is as following: { "frontendEndpoint": ... "appVersionId": ... "applicationId": ... "frontendStateId": ... "projectId": ... "systemName": ... "frontendType": "APK" }

Link copied to clipboard
abstract fun dispose()

Disconnect from service and clear resources.

Link copied to clipboard
abstract fun getVersion(): Int?

Returns device version service.