RecognitionService.SupportCallback
public
static
class
RecognitionService.SupportCallback
extends Object
java.lang.Object | |
↳ | android.speech.RecognitionService.SupportCallback |
This class receives callbacks from the speech recognition service and forwards them to the
user. An instance of this class is passed to the
RecognitionService.onCheckRecognitionSupport(Intent, SupportCallback)
method. Recognizers may call
these methods on any thread.
Summary
Public methods | |
---|---|
void
|
onError(int errorCode)
The service should call this method when an error occurred and can't satisfy the support request. |
void
|
onSupportResult(RecognitionSupport recognitionSupport)
The service should call this method to notify the caller about the level of support. |
Inherited methods | |
---|---|
Public methods
onError
public void onError (int errorCode)
The service should call this method when an error occurred and can't satisfy the support request.
onSupportResult
public void onSupportResult (RecognitionSupport recognitionSupport)
The service should call this method to notify the caller about the level of support.
Parameters | |
---|---|
recognitionSupport |
RecognitionSupport : This value cannot be null . |