Share via


TvInputService.HardwareSession Constructors

Definition

Overloads

TvInputService.HardwareSession(Context)

Creates a new HardwareSession.

TvInputService.HardwareSession(IntPtr, JniHandleOwnership)

TvInputService.HardwareSession(Context)

Creates a new HardwareSession.

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

Parameters

context
Context

The context of the application

Attributes

Remarks

Creates a new HardwareSession.

Java documentation for android.media.tv.TvInputService.HardwareSession.TvInputService$HardwareSession(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.HardwareSession(IntPtr, JniHandleOwnership)

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

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