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

public abstract void onSupportResult (RecognitionSupport recognitionSupport)

Notifies the caller about the support for the given request.

Parameters
recognitionSupport RecognitionSupport: This value cannot be null.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-02-13 UTC.