語言

Voice.Features 屬性

定義

回傳該語音所支援的功能集合。

public virtual System.Collections.Generic.ICollection<string>? Features { [Android.Runtime.Register("getFeatures", "()Ljava/util/Set;", "GetGetFeaturesHandler")] get; }
[<get: Android.Runtime.Register("getFeatures", "()Ljava/util/Set;", "GetGetFeaturesHandler")>]
member this.Features : System.Collections.Generic.ICollection<string>

屬性值

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

屬性

備註

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

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

Java 文件 android.speech.tts.Voice.getFeatures()。

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

適用於