Condividi tramite


VoiceInteractor.GetActiveRequest(String) Method

Definition

Return any currently active request that was submitted with the given name.

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

Parameters

name
String

The name used to submit the request, as per #submitRequest(android.app.VoiceInteractor.Request, String).

Returns

Returns the active request with that name, or null if there was none.

Attributes

Remarks

Java documentation for android.app.VoiceInteractor.getActiveRequest(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