AlternativeSpan(Int32, Int32, IList<String>) Constructor
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Crea un nuevo objeto 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
Parámetros
- startPosition
- Int32
Posición inicial del intervalo de la cadena reconocida originalmente.
<p> Must be set to a non-negative value before building.
- endPosition
- Int32
Posición final exclusiva del intervalo de la cadena reconocida originalmente.
<p> Must be set to a value greater than the start of the span before building.
Todas las alternativas para el intervalo [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.
- Atributos
Comentarios
Crea un nuevo objeto AlternativeSpan.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.