Langue

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

Définition

Crée un autre volet 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

Paramètres

startPosition
Int32

Position de début de l’étendue de la chaîne reconnue à l’origine.

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

Position de fin exclusive de l’étendue de la chaîne reconnue à l’origine.

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

Toutes les alternatives pour l’étendue [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.
Attributs

Remarques

Crée un autre volet AlternativeSpan.

Documentation Java pour android.speech.AlternativeSpan.AlternativeSpan(int, int, java.util.List<java.lang.String>).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à