Sprache

VoiceInteractor.AbortVoiceRequest Constructors

Definition

Overloads

Name Description
VoiceInteractor.AbortVoiceRequest(VoiceInteractor+Prompt, Bundle)

Create a new voice abort request.

VoiceInteractor.AbortVoiceRequest(IntPtr, JniHandleOwnership)

Initializes a managed representation of an existing Java Native Interface object.

VoiceInteractor.AbortVoiceRequest(VoiceInteractor+Prompt, Bundle)

Create a new voice abort request.

[Android.Runtime.Register(".ctor", "(Landroid/app/VoiceInteractor$Prompt;Landroid/os/Bundle;)V", "", ApiSince=23)]
public AbortVoiceRequest(Android.App.VoiceInteractor.Prompt? prompt, Android.OS.Bundle? extras);
[<Android.Runtime.Register(".ctor", "(Landroid/app/VoiceInteractor$Prompt;Landroid/os/Bundle;)V", "", ApiSince=23)>]
new Android.App.VoiceInteractor.AbortVoiceRequest : Android.App.VoiceInteractor.Prompt * Android.OS.Bundle -> Android.App.VoiceInteractor.AbortVoiceRequest

Parameters

prompt
VoiceInteractor.Prompt

VoiceInteractor.Prompt: Optional message to speak to the user indicating why the task could not be completed by voice or null if nothing should be spoken.

extras
Bundle

Bundle: Additional optional information or null.

Attributes

Remarks

Create a new voice abort request.

Android reference for android.app.VoiceInteractor.AbortVoiceRequest.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

VoiceInteractor.AbortVoiceRequest(IntPtr, JniHandleOwnership)

Initializes a managed representation of an existing Java Native Interface object.

protected AbortVoiceRequest(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.VoiceInteractor.AbortVoiceRequest : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.VoiceInteractor.AbortVoiceRequest

Parameters

javaReference
IntPtr

nativeint

The Java Native Interface object reference.

transfer
JniHandleOwnership

The ownership transfer to apply to the Java Native Interface object reference.

Remarks

This constructor is called by the .NET for Android binding runtime when it creates a managed peer for an existing Java object.

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