Idioma

AlternativeSpan(Int32, Int32, IList<String>) Construtor

Definição

Cria um novo 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

A posição inicial do intervalo da cadeia de caracteres originalmente reconhecida.

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

A posição final exclusiva do intervalo da cadeia de caracteres originalmente reconhecida.

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

Todas as alternativas para o intervalo [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.
Atributos

Comentários

Cria um novo AlternativeSpan.

Java documentação para android.speech.AlternativeSpan.AlternativeSpan(int, int, java.util.List<java.lang.String>).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a