Lingua

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

Definizione

Crea un nuovo oggetto 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

Parametri

startPosition
Int32

Posizione iniziale dell'intervallo della stringa originariamente riconosciuta.

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

Posizione finale esclusiva dell'intervallo della stringa originariamente riconosciuta.

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

Tutte le alternative per l'intervallo [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.
Attributi

Commenti

Crea un nuovo oggetto AlternativeSpan.

per android.speech.AlternativeSpan.AlternativeSpan(int, int, java.util.List<java.lang.String>).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a