Condividi tramite


VoiceInteractionSession Constructors

Definition

Overloads

VoiceInteractionSession(Context)
VoiceInteractionSession(Context, Handler)
VoiceInteractionSession(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

VoiceInteractionSession(Context)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public VoiceInteractionSession (Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Service.Voice.VoiceInteractionSession : Android.Content.Context -> Android.Service.Voice.VoiceInteractionSession

Parameters

context
Context
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.

Applies to

VoiceInteractionSession(Context, Handler)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/os/Handler;)V", "")]
public VoiceInteractionSession (Android.Content.Context? context, Android.OS.Handler? handler);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/os/Handler;)V", "")>]
new Android.Service.Voice.VoiceInteractionSession : Android.Content.Context * Android.OS.Handler -> Android.Service.Voice.VoiceInteractionSession

Parameters

context
Context
handler
Handler
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.

Applies to

VoiceInteractionSession(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected VoiceInteractionSession (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Service.Voice.VoiceInteractionSession : nativeint * Android.Runtime.JniHandleOwnership -> Android.Service.Voice.VoiceInteractionSession

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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.

Applies to