Merge "docs: Note behavior of PREFER_OFFLINE" into rvc-dev

This commit is contained in:
Andrew Solovay
2020-04-15 20:53:50 +00:00
committed by Android (Google) Code Review

View File

@@ -413,6 +413,10 @@ public class RecognizerIntent {
* {@link #ACTION_VOICE_SEARCH_HANDS_FREE}, {@link #ACTION_WEB_SEARCH} to indicate whether to
* only use an offline speech recognition engine. The default is false, meaning that either
* network or offline recognition engines may be used.
*
* <p>Depending on the recognizer implementation, these values may have
* no effect.</p>
*
*/
public static final String EXTRA_PREFER_OFFLINE = "android.speech.extra.PREFER_OFFLINE";
}