Merge "Add a comment mentioning that errors might be unbundled, to improve backwards compatibility story." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b598e181da
@@ -62,7 +62,8 @@ public interface RecognitionListener {
|
||||
/**
|
||||
* A network or recognition error occurred.
|
||||
*
|
||||
* @param error code is defined in {@link SpeechRecognizer}
|
||||
* @param error code is defined in {@link SpeechRecognizer}. Implementations need to handle any
|
||||
* integer error constant to be passed here beyond constants prefixed with ERROR_.
|
||||
*/
|
||||
void onError(@SpeechRecognizer.RecognitionError int error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user