語言

RecognizerIntent.ActionGetLanguageDetails 欄位

定義

一個可對滿足 的 元資料Activity#ACTION_WEB_SEARCH中指定的#DETAILS_META_DATA元件發射BroadcastReceiver的廣播意圖。

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

欄位值

屬性

備註

一個可對滿足 的 元資料Activity#ACTION_WEB_SEARCH中指定的#DETAILS_META_DATA元件發射BroadcastReceiver的廣播意圖。

當 以 發射 Context#sendOrderedBroadcast(Intent, String, BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle)時,額外的 a Bundle 會返回給給出的結果接收器,理想狀況下應包含 與 #EXTRA_LANGUAGE_PREFERENCE#EXTRA_SUPPORTED_LANGUAGES的值。

(是否真的提供這些內容則取決於具體實作方式。建議 s 實作#ACTION_WEB_SEARCH提供Activity此資訊,但並非強制。)

Java 文件 android.speech.RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於