Share via


VoiceInteractionSession.OnRequestCommand Method

Definition

Process an arbitrary extended command from the caller, corresponding to a android.app.VoiceInteractor.CommandRequest VoiceInteractor.CommandRequest.

[Android.Runtime.Register("onRequestCommand", "(Landroid/service/voice/VoiceInteractionSession$CommandRequest;)V", "GetOnRequestCommand_Landroid_service_voice_VoiceInteractionSession_CommandRequest_Handler", ApiSince=23)]
public virtual void OnRequestCommand (Android.Service.Voice.VoiceInteractionSession.CommandRequest? request);
[<Android.Runtime.Register("onRequestCommand", "(Landroid/service/voice/VoiceInteractionSession$CommandRequest;)V", "GetOnRequestCommand_Landroid_service_voice_VoiceInteractionSession_CommandRequest_Handler", ApiSince=23)>]
abstract member OnRequestCommand : Android.Service.Voice.VoiceInteractionSession.CommandRequest -> unit
override this.OnRequestCommand : Android.Service.Voice.VoiceInteractionSession.CommandRequest -> unit

Parameters

request
VoiceInteractionSession.CommandRequest

The active request.

Attributes

Remarks

Java documentation for android.service.voice.VoiceInteractionSession.onRequestCommand(android.service.voice.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.

Applies to