TvInputService.OnCreateSession Method

Definition

Overloads

OnCreateSession(String, String)

Returns a concrete implementation of Session.

OnCreateSession(String, String, AttributionSource)
OnCreateSession(String)

Returns a concrete implementation of Session.

OnCreateSession(String, String)

Returns a concrete implementation of Session.

[Android.Runtime.Register("onCreateSession", "(Ljava/lang/String;Ljava/lang/String;)Landroid/media/tv/TvInputService$Session;", "GetOnCreateSession_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=30)]
public virtual Android.Media.TV.TvInputService.Session? OnCreateSession (string inputId, string sessionId);
[<Android.Runtime.Register("onCreateSession", "(Ljava/lang/String;Ljava/lang/String;)Landroid/media/tv/TvInputService$Session;", "GetOnCreateSession_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=30)>]
abstract member OnCreateSession : string * string -> Android.Media.TV.TvInputService.Session
override this.OnCreateSession : string * string -> Android.Media.TV.TvInputService.Session

Parameters

inputId
String

The ID of the TV input associated with the session.

sessionId
String

Returns

Attributes

Remarks

Java documentation for android.media.tv.TvInputService.onCreateSession(java.lang.String).

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

OnCreateSession(String, String, AttributionSource)

[Android.Runtime.Register("onCreateSession", "(Ljava/lang/String;Ljava/lang/String;Landroid/content/AttributionSource;)Landroid/media/tv/TvInputService$Session;", "GetOnCreateSession_Ljava_lang_String_Ljava_lang_String_Landroid_content_AttributionSource_Handler", ApiSince=34)]
public virtual Android.Media.TV.TvInputService.Session? OnCreateSession (string inputId, string sessionId, Android.Content.AttributionSource tvAppAttributionSource);
[<Android.Runtime.Register("onCreateSession", "(Ljava/lang/String;Ljava/lang/String;Landroid/content/AttributionSource;)Landroid/media/tv/TvInputService$Session;", "GetOnCreateSession_Ljava_lang_String_Ljava_lang_String_Landroid_content_AttributionSource_Handler", ApiSince=34)>]
abstract member OnCreateSession : string * string * Android.Content.AttributionSource -> Android.Media.TV.TvInputService.Session
override this.OnCreateSession : string * string * Android.Content.AttributionSource -> Android.Media.TV.TvInputService.Session

Parameters

inputId
String
sessionId
String
tvAppAttributionSource
AttributionSource

Returns

Attributes

Applies to

OnCreateSession(String)

Returns a concrete implementation of Session.

[Android.Runtime.Register("onCreateSession", "(Ljava/lang/String;)Landroid/media/tv/TvInputService$Session;", "GetOnCreateSession_Ljava_lang_String_Handler")]
public abstract Android.Media.TV.TvInputService.Session? OnCreateSession (string inputId);
[<Android.Runtime.Register("onCreateSession", "(Ljava/lang/String;)Landroid/media/tv/TvInputService$Session;", "GetOnCreateSession_Ljava_lang_String_Handler")>]
abstract member OnCreateSession : string -> Android.Media.TV.TvInputService.Session

Parameters

inputId
String

The ID of the TV input associated with the session.

Returns

Attributes

Remarks

Java documentation for android.media.tv.TvInputService.onCreateSession(java.lang.String).

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