Udostępnij za pośrednictwem


VoiceInteractionSession.OnRequestAbortVoice Method

Definition

Request to abort the voice interaction session because the voice activity can not complete its interaction using voice.

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

Parameters

request
VoiceInteractionSession.AbortVoiceRequest

The active request.

Attributes

Remarks

Java documentation for android.service.voice.VoiceInteractionSession.onRequestAbortVoice(android.service.voice.AbortVoiceRequest).

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