VoiceInteractor.CommandRequest 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.CommandRequest(IntPtr, JniHandleOwnership) |
Initializes a managed representation of an existing Java Native Interface object. |
| VoiceInteractor.CommandRequest(String, Bundle) |
Create a new generic command request. |
VoiceInteractor.CommandRequest(IntPtr, JniHandleOwnership)
Initializes a managed representation of an existing Java Native Interface object.
protected CommandRequest(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.VoiceInteractor.CommandRequest : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.VoiceInteractor.CommandRequest
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.CommandRequest(String, Bundle)
Create a new generic command request.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/os/Bundle;)V", "", ApiSince=23)]
public CommandRequest(string? command, Android.OS.Bundle? args);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/os/Bundle;)V", "", ApiSince=23)>]
new Android.App.VoiceInteractor.CommandRequest : string * Android.OS.Bundle -> Android.App.VoiceInteractor.CommandRequest
Parameters
- command
- String
String: The desired command to perform.
- args
- Bundle
Bundle: Additional arguments to control execution of the command.
- Attributes
Remarks
Create a new generic command request.
Android reference for android.app.VoiceInteractor.CommandRequest.CommandRequest.
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.