VoiceInteractionSession.OnCancelRequest Method
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.
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
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.