Freigeben über


RecognizerIntent.ExtraOnlyReturnLanguagePreference Field

Definition

Specify this boolean extra in a broadcast of #ACTION_GET_LANGUAGE_DETAILS to indicate that only the current language preference is needed in the response.

[Android.Runtime.Register("EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE")]
public const string ExtraOnlyReturnLanguagePreference;
[<Android.Runtime.Register("EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE")>]
val mutable ExtraOnlyReturnLanguagePreference : string

Field Value

Attributes

Remarks

Specify this boolean extra in a broadcast of #ACTION_GET_LANGUAGE_DETAILS to indicate that only the current language preference is needed in the response. This avoids any additional computation if all you need is #EXTRA_LANGUAGE_PREFERENCE in the response.

Java documentation for android.speech.RecognizerIntent.EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE.

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