TextToSpeech.MaxSpeechInputLength 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
輸入字串傳遞給 speak 與 synthesizeToFile 的長度限制。
public static int MaxSpeechInputLength { [Android.Runtime.Register("getMaxSpeechInputLength", "()I", "")] get; }
[<get: Android.Runtime.Register("getMaxSpeechInputLength", "()I", "")>]
static member MaxSpeechInputLength : int
屬性值
語音與檔案合成方法所接受的最大輸入字串長度,以 UTF-16 碼單位衡量。
- 屬性
備註
輸入字串傳遞給 speak 與 synthesizeToFile 的長度限制。
Java 文件 android.speech.tts.TextToSpeech.getMaxSpeechInputLength()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
另請參閱
- <xref:Android.Speech.Tts.TextToSpeech.Speak(Java.Lang.ICharSequence%2c+Android.Speech.Tts.QueueMode%2c+Android.Speech.Tts.QueueMode%2c+Android.Speech.Tts.QueueMode)>
- <xref:Android.Speech.Tts.TextToSpeech.SynthesizeToFile(Java.Lang.ICharSequence%2c+Android.OS.Bundle%2c+Android.OS.Bundle%2c+Android.OS.Bundle)>