Added in API level 33
RecognitionSupportCallback
interface RecognitionSupportCallback
android.speech.RecognitionSupportCallback |
Used for receiving notifications from the SpeechRecognizer about the device support status for the given recognition request.
Summary
Public methods | |
---|---|
abstract Unit |
Notifies the caller about an error during the recognition support request |
abstract Unit |
onSupportResult(recognitionSupport: RecognitionSupport) Notifies the caller about the support for the given request. |
Public methods
onError
Added in API level 33
abstract fun onError(error: Int): Unit
Notifies the caller about an error during the recognition support request
onSupportResult
Added in API level 33
abstract fun onSupportResult(recognitionSupport: RecognitionSupport): Unit
Notifies the caller about the support for the given request.
Parameters | |
---|---|
recognitionSupport |
RecognitionSupport: This value cannot be null . |