AlternativeSpan(Int32, Int32, IList<String>) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新的 AlternativeSpan。
[Android.Runtime.Register(".ctor", "(IILjava/util/List;)V", "", ApiSince=34)]
public AlternativeSpan(int startPosition, int endPosition, System.Collections.Generic.IList<string> alternatives);
[<Android.Runtime.Register(".ctor", "(IILjava/util/List;)V", "", ApiSince=34)>]
new Android.Speech.AlternativeSpan : int * int * System.Collections.Generic.IList<string> -> Android.Speech.AlternativeSpan
參數
- endPosition
- Int32
原始識別字串跨間的排他終點位置。
<p> Must be set to a value greater than the start of the span before building.
[mStart, mEnd] 範圍的所有替代方案。
<p> Must not be empty. The object will only be created
if there are some alternatives for the given span.
<p> The alternatives may be strings of different lengths than the span they can replace.
- 屬性
備註
建立一個新的 AlternativeSpan。
Java 文件 android.speech.AlternativeSpan.AlternativeSpan(int, int, java.util.List<java.lang.String>)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。