Freigeben über


RecognizerIntent.ActionGetLanguageDetails Field

Definition

A broadcast intent which can be fired to the BroadcastReceiver component specified in the meta-data defined in the #DETAILS_META_DATA meta-data of an Activity satisfying #ACTION_WEB_SEARCH.

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

Field Value

Attributes

Remarks

A broadcast intent which can be fired to the BroadcastReceiver component specified in the meta-data defined in the #DETAILS_META_DATA meta-data of an Activity satisfying #ACTION_WEB_SEARCH.

When fired with Context#sendOrderedBroadcast(Intent, String, BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle), a Bundle of extras will be returned to the provided result receiver, and should ideally contain values for #EXTRA_LANGUAGE_PREFERENCE and #EXTRA_SUPPORTED_LANGUAGES.

(Whether these are actually provided is up to the particular implementation. It is recommended that Activitys implementing #ACTION_WEB_SEARCH provide this information, but it is not required.)

Java documentation for android.speech.RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS.

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