Share via


VoiceInteractionSession.OnCancelRequest Method

Definition

Called when the android.app.VoiceInteractor has asked to cancel a Request that was previously delivered to #onRequestConfirmation, #onRequestPickOption, #onRequestCompleteVoice, #onRequestAbortVoice, or #onRequestCommand.

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

Parameters

request
VoiceInteractionSession.Request

The request that is being canceled.

Attributes

Remarks

Java documentation for android.service.voice.VoiceInteractionSession.onCancelRequest(android.service.voice.Request).

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