語言

TextToSpeech.GetFeatures(Locale) 方法

定義

警告

deprecated

查詢引擎對特定地點所支援的功能集合。

[Android.Runtime.Register("getFeatures", "(Ljava/util/Locale;)Ljava/util/Set;", "GetGetFeatures_Ljava_util_Locale_Handler")]
[System.Obsolete("deprecated")]
public virtual System.Collections.Generic.ICollection<string>? GetFeatures(Java.Util.Locale? locale);
[<Android.Runtime.Register("getFeatures", "(Ljava/util/Locale;)Ljava/util/Set;", "GetGetFeatures_Ljava_util_Locale_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member GetFeatures : Java.Util.Locale -> System.Collections.Generic.ICollection<string>
override this.GetFeatures : Java.Util.Locale -> System.Collections.Generic.ICollection<string>

參數

locale
Locale

查詢功能的地方。

傳回

設定實例。 可能會因錯誤而回來 null 。

屬性

備註

查詢引擎對特定地點所支援的功能集合。 功能可以是框架定義的 TextToSpeech.Engine#KEY_FEATURE_NETWORK_SYNTHESIS ,例如,或是引擎專屬的。 引擎專用鑰匙必須以預定引擎名稱作為前綴。 這些鍵可作為參數 和 TextToSpeech#speak(String, int, java.util.HashMap)TextToSpeech#synthesizeToFile(String, java.util.HashMap, String)。

特徵值是字串,且其值必須符合文件中描述的限制。

此會員已被棄用。 從 API 第 21 級起,請使用語音。 若要查詢語音的特徵,請呼叫 #getVoices() 以取得可用語音清單及 Voice#getFeatures() 特徵集合。

Java 文件 android.speech.tts.TextToSpeech.getFeatures(java.util.Locale)。

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

適用於