共用方式為


TvInputService.Session Constructors

Definition

Overloads

TvInputService.Session(Context)

Creates a new Session.

TvInputService.Session(IntPtr, JniHandleOwnership)

TvInputService.Session(Context)

Creates a new Session.

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

Parameters

context
Context

The context of the application

Attributes

Remarks

Creates a new Session.

Java documentation for android.media.tv.TvInputService.Session.TvInputService$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

TvInputService.Session(IntPtr, JniHandleOwnership)

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

Parameters

javaReference
IntPtr

nativeint

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