VoiceInteractor.Prompt Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
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
- transfer
- JniHandleOwnership
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.