TvInteractiveAppService.Session 构造函数

定义

重载

TvInteractiveAppService.Session(Context)

创建新的会话。

TvInteractiveAppService.Session(IntPtr, JniHandleOwnership)

TvInteractiveAppService.Session(Context)

创建新的会话。

[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

参数

context
Context

应用程序的上下文

属性

注解

创建新的会话。

适用于 . 的 android.media.tv.interactive.TvInteractiveAppService.Session.TvInteractiveAppService$Session(android.content.Context)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

TvInteractiveAppService.Session(IntPtr, JniHandleOwnership)

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

参数

javaReference
IntPtr

nativeint

适用于