//sorisdk/com.iplateia.sorisdk/SORIAudioRecognizer/startRecognition
startRecognition
[androidJvm]
fun startRecognition(ctx: Context, title: String? = null, body: String? = null, icon: Int? = null)
Starts the SORI Audio Recognition Service. example usage:
kotlin
val recognizer = SORIAudioRecognizer("your_application_id", "your_secret_key")
recognizer.startRecognition(this)
Parameters
androidJvm
ctx | The context from which the service is started. |
title | The title of the foreground notification. (optional) |
body | The body of the foreground notification. (optional) |
icon | The icon resource ID for the foreground notification. (optional) |