AlternativeSpan(Int32, Int32, IList<String>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new 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
Parameters
- startPosition
- Int32
The start position of the span of the originally recognized string.
<p> Must be set to a non-negative value before building.
- endPosition
- Int32
The exclusive end position of the span of the originally recognized string.
<p> Must be set to a value greater than the start of the span before building.
All the alternatives for the [mStart, mEnd) span.
<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.
- Attributes
Remarks
Creates a new AlternativeSpan.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.