TvInteractiveAppService.Session 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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 开放源代码项目创建和共享的工作进行的修改,并根据 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
- transfer
- JniHandleOwnership