RecognizerIntent.ExtraPreferOffline Field

Definition

Optional boolean, to be used with #ACTION_RECOGNIZE_SPEECH, #ACTION_VOICE_SEARCH_HANDS_FREE, #ACTION_WEB_SEARCH to indicate whether to only use an offline speech recognition engine.

[Android.Runtime.Register("EXTRA_PREFER_OFFLINE", ApiSince=23)]
public const string ExtraPreferOffline;
[<Android.Runtime.Register("EXTRA_PREFER_OFFLINE", ApiSince=23)>]
val mutable ExtraPreferOffline : string

Field Value

Attributes

Remarks

Optional boolean, to be used with #ACTION_RECOGNIZE_SPEECH, #ACTION_VOICE_SEARCH_HANDS_FREE, #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.

Depending on the recognizer implementation, these values may have no effect.

Java documentation for android.speech.RecognizerIntent.EXTRA_PREFER_OFFLINE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to