AlternativeSpan(Int32, Int32, IList<String>) コンストラクター

定義

新しい 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

パラメーター

startPosition
Int32

最初に認識された文字列のスパンの開始位置。

          &lt;p&gt; Must be set to a non-negative value before building.
endPosition
Int32

最初に認識された文字列のスパンの排他的終了位置。

          &lt;p&gt; Must be set to a value greater than the start of the span before building.
alternatives
IList<String>

[mStart, mEnd) スパンのすべての代替手段。

          &lt;p&gt; Must not be empty. The object will only be created
          if there are some alternatives for the given span.

          &lt;p&gt; The alternatives may be strings of different lengths than the span they can replace.
属性

注釈

新しい AlternativeSpan を作成します。

android.speech.AlternativeSpan.AlternativeSpan(int, int, java.util.List<java.lang.String>)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象