Share via


VoiceInteractor.SubmitRequest Method

Definition

Overloads

SubmitRequest(VoiceInteractor+Request)

Submit a new Request to the voice interaction service.

SubmitRequest(VoiceInteractor+Request, String)

Submit a new Request to the voice interaction service.

SubmitRequest(VoiceInteractor+Request)

Submit a new Request to the voice interaction service.

[Android.Runtime.Register("submitRequest", "(Landroid/app/VoiceInteractor$Request;)Z", "", ApiSince=23)]
public bool SubmitRequest (Android.App.VoiceInteractor.Request? request);
[<Android.Runtime.Register("submitRequest", "(Landroid/app/VoiceInteractor$Request;)Z", "", ApiSince=23)>]
member this.SubmitRequest : Android.App.VoiceInteractor.Request -> bool

Parameters

request
VoiceInteractor.Request

The desired request to submit.

Returns

Returns true of the request was successfully submitted, else false.

Attributes

Remarks

Java documentation for android.app.VoiceInteractor.submitRequest(android.app.Request, java.lang.String).

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

SubmitRequest(VoiceInteractor+Request, String)

Submit a new Request to the voice interaction service.

[Android.Runtime.Register("submitRequest", "(Landroid/app/VoiceInteractor$Request;Ljava/lang/String;)Z", "", ApiSince=23)]
public bool SubmitRequest (Android.App.VoiceInteractor.Request? request, string? name);
[<Android.Runtime.Register("submitRequest", "(Landroid/app/VoiceInteractor$Request;Ljava/lang/String;)Z", "", ApiSince=23)>]
member this.SubmitRequest : Android.App.VoiceInteractor.Request * string -> bool

Parameters

request
VoiceInteractor.Request

The desired request to submit.

name
String

An optional name for this request, or null. This can be used later with #getActiveRequests and #getActiveRequest to find the request.

Returns

Returns true of the request was successfully submitted, else false.

Attributes

Remarks

Java documentation for android.app.VoiceInteractor.submitRequest(android.app.Request, java.lang.String).

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