Language

TvInteractiveAppService.Session Constructors

Definition

Overloads

Name Description
TvInteractiveAppService.Session(Context)

Creates a new Session.

TvInteractiveAppService.Session(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

TvInteractiveAppService.Session(Context)

Creates a new Session.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=33)]
public Session(Android.Content.Context context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=33)>]
new Android.Media.TV.Interactive.TvInteractiveAppService.Session : Android.Content.Context -> Android.Media.TV.Interactive.TvInteractiveAppService.Session

Parameters

context
Context

The context of the application

Attributes

Remarks

Creates a new Session.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.TvInteractiveAppService$Session(android.content.Context).

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

TvInteractiveAppService.Session(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected Session(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Media.TV.Interactive.TvInteractiveAppService.Session : nativeint * Android.Runtime.JniHandleOwnership -> Android.Media.TV.Interactive.TvInteractiveAppService.Session

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to