VoiceInteractor.Prompt Constructors

Definition

Overloads

VoiceInteractor.Prompt(ICharSequence)

Constructs a prompt set with single prompt used for all interactions.

VoiceInteractor.Prompt(String)
VoiceInteractor.Prompt(ICharSequence[], ICharSequence)

Constructs a prompt set.

VoiceInteractor.Prompt(IntPtr, JniHandleOwnership)
VoiceInteractor.Prompt(String[], String)

VoiceInteractor.Prompt(ICharSequence)

Constructs a prompt set with single prompt used for all interactions.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=23)]
public Prompt (Java.Lang.ICharSequence prompt);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=23)>]
new Android.App.VoiceInteractor.Prompt : Java.Lang.ICharSequence -> Android.App.VoiceInteractor.Prompt

Parameters

prompt
ICharSequence
Attributes

Remarks

Constructs a prompt set with single prompt used for all interactions. This is most useful in test apps. Non-trivial apps should prefer the detailed constructor.

Java documentation for android.app.VoiceInteractor.Prompt.VoiceInteractor$Prompt(java.lang.CharSequence).

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.Prompt(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=23)]
public Prompt (string prompt);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=23)>]
new Android.App.VoiceInteractor.Prompt : string -> Android.App.VoiceInteractor.Prompt

Parameters

prompt
String
Attributes

Remarks

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.Prompt(ICharSequence[], ICharSequence)

Constructs a prompt set.

[Android.Runtime.Register(".ctor", "([Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V", "", ApiSince=23)]
public Prompt (Java.Lang.ICharSequence[] voicePrompts, Java.Lang.ICharSequence visualPrompt);
[<Android.Runtime.Register(".ctor", "([Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V", "", ApiSince=23)>]
new Android.App.VoiceInteractor.Prompt : Java.Lang.ICharSequence[] * Java.Lang.ICharSequence -> Android.App.VoiceInteractor.Prompt

Parameters

voicePrompts
ICharSequence[]

An array of one or more voice prompts. Must not be empty or null.

visualPrompt
ICharSequence

A prompt to display on the screen. Must not be null.

Attributes

Remarks

Constructs a prompt set.

Java documentation for android.app.VoiceInteractor.Prompt.VoiceInteractor$Prompt(java.lang.CharSequence[], java.lang.CharSequence).

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.Prompt(IntPtr, JniHandleOwnership)

protected Prompt (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.VoiceInteractor.Prompt : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.VoiceInteractor.Prompt

Parameters

javaReference
IntPtr

nativeint

Remarks

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.Prompt(String[], String)

[Android.Runtime.Register(".ctor", "([Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V", "", ApiSince=23)]
public Prompt (string[] voicePrompts, string visualPrompt);
[<Android.Runtime.Register(".ctor", "([Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V", "", ApiSince=23)>]
new Android.App.VoiceInteractor.Prompt : string[] * string -> Android.App.VoiceInteractor.Prompt

Parameters

voicePrompts
String[]
visualPrompt
String
Attributes

Remarks

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