VoiceInteractor.PickOptionRequest 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.PickOptionRequest(IntPtr, JniHandleOwnership) |
Initializes a managed representation of an existing Java Native Interface object. |
| VoiceInteractor.PickOptionRequest(VoiceInteractor+Prompt, VoiceInteractor+PickOptionRequest+Option[], Bundle) |
Create a new pick option request. |
VoiceInteractor.PickOptionRequest(IntPtr, JniHandleOwnership)
Initializes a managed representation of an existing Java Native Interface object.
protected PickOptionRequest(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.VoiceInteractor.PickOptionRequest : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.VoiceInteractor.PickOptionRequest
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.PickOptionRequest(VoiceInteractor+Prompt, VoiceInteractor+PickOptionRequest+Option[], Bundle)
Create a new pick option request.
[Android.Runtime.Register(".ctor", "(Landroid/app/VoiceInteractor$Prompt;[Landroid/app/VoiceInteractor$PickOptionRequest$Option;Landroid/os/Bundle;)V", "", ApiSince=23)]
public PickOptionRequest(Android.App.VoiceInteractor.Prompt? prompt, Android.App.VoiceInteractor.PickOptionRequest.Option[]? options, Android.OS.Bundle? extras);
[<Android.Runtime.Register(".ctor", "(Landroid/app/VoiceInteractor$Prompt;[Landroid/app/VoiceInteractor$PickOptionRequest$Option;Landroid/os/Bundle;)V", "", ApiSince=23)>]
new Android.App.VoiceInteractor.PickOptionRequest : Android.App.VoiceInteractor.Prompt * Android.App.VoiceInteractor.PickOptionRequest.Option[] * Android.OS.Bundle -> Android.App.VoiceInteractor.PickOptionRequest
Parameters
- prompt
- VoiceInteractor.Prompt
VoiceInteractor.Prompt: Optional question to be asked of the user when the options are presented or null if nothing should be asked.
- options
- VoiceInteractor.PickOptionRequest.Option[]
Option: The set of Options the user is selecting from.
- extras
- Bundle
Bundle: Additional optional information or null.
- Attributes
Remarks
Create a new pick option request.
Android reference for android.app.VoiceInteractor.PickOptionRequest.PickOptionRequest.
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.