Język

VoiceInteractor.PickOptionRequest.Option Constructors

Definition

Overloads

Name Description
VoiceInteractor.PickOptionRequest.Option(ICharSequence, Int32)

Creates an option that a user can select with their voice by matching the label or one of several synonyms.

VoiceInteractor.PickOptionRequest.Option(String, Int32)

Creates an option that a user can select with their voice by matching the label or one of several synonyms.

VoiceInteractor.PickOptionRequest.Option(ICharSequence, Int32)

Creates an option that a user can select with their voice by matching the label or one of several synonyms.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;I)V", "", ApiSince=23)]
public Option(Java.Lang.ICharSequence? label, int index);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;I)V", "", ApiSince=23)>]
new Android.App.VoiceInteractor.PickOptionRequest.Option : Java.Lang.ICharSequence * int -> Android.App.VoiceInteractor.PickOptionRequest.Option

Parameters

label
ICharSequence

CharSequence: The label that will both be matched against what the user speaks and displayed visually.

index
Int32

int: The location of this option within the overall set of options. Can be used to help identify the option when it is returned from the voice interactor.

Attributes

Remarks

Creates an option that a user can select with their voice by matching the label or one of several synonyms.

Android reference for android.app.VoiceInteractor.PickOptionRequest.Option.Option.

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.

Applies to

VoiceInteractor.PickOptionRequest.Option(String, Int32)

Creates an option that a user can select with their voice by matching the label or one of several synonyms.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;I)V", "", ApiSince=23)]
public Option(string? label, int index);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;I)V", "", ApiSince=23)>]
new Android.App.VoiceInteractor.PickOptionRequest.Option : string * int -> Android.App.VoiceInteractor.PickOptionRequest.Option

Parameters

label
String

CharSequence: The label that will both be matched against what the user speaks and displayed visually.

index
Int32

int: The location of this option within the overall set of options. Can be used to help identify the option when it is returned from the voice interactor.

Attributes

Remarks

Creates an option that a user can select with their voice by matching the label or one of several synonyms.

Android reference for android.app.VoiceInteractor.PickOptionRequest.Option.Option.

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.

Applies to