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
| Name | Description |
|---|---|
| VoiceInteractor.Prompt(ICharSequence) |
Constructs a prompt set with single prompt used for all interactions. |
| VoiceInteractor.Prompt(String) |
Constructs a prompt set with single prompt used for all interactions. |
| VoiceInteractor.Prompt(ICharSequence[], ICharSequence) |
Constructs a prompt set. |
| VoiceInteractor.Prompt(IntPtr, JniHandleOwnership) |
Initializes a managed representation of an existing Java Native Interface object. |
| VoiceInteractor.Prompt(String[], String) |
Constructs a prompt set. |
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
CharSequence: This value cannot be null.
- 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.
Android reference for android.app.VoiceInteractor.Prompt.Prompt.
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)
Constructs a prompt set with single prompt used for all interactions.
[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
CharSequence: This value cannot be null.
- 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.
Android reference for android.app.VoiceInteractor.Prompt.Prompt.
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.
Android reference for android.app.VoiceInteractor.Prompt.Prompt.
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)
Initializes a managed representation of an existing Java Native Interface object.
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
The Java Native Interface object reference.
- transfer
- JniHandleOwnership
The ownership transfer to apply to the Java Native Interface object reference.
Remarks
This constructor is called by the .NET for Android binding runtime when it creates a managed peer for an existing Java object.
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)
Constructs a prompt set.
[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[]
CharSequence: An array of one or more voice prompts. Must not be empty or null.
- visualPrompt
- String
CharSequence: A prompt to display on the screen. Must not be null.
- Attributes
Remarks
Constructs a prompt set.
Android reference for android.app.VoiceInteractor.Prompt.Prompt.
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.