Added in API level 33

RecognitionSupportCallback


public 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 void onError(int error)

Notifies the caller about an error during the recognition support request

abstract void onSupportResult(RecognitionSupport recognitionSupport)

Notifies the caller about the support for the given request.

Public methods

onSupportResult

Added in API level 33
public abstract void onSupportResult (RecognitionSupport recognitionSupport)

Notifies the caller about the support for the given request.

Parameters
recognitionSupport RecognitionSupport: This value cannot be null.