TvInputService.OnCreateSession Method

Definition

Overloads

OnCreateSession(String)

Returns a concrete implementation of Session.

OnCreateSession(String, String)

Returns a concrete implementation of Session.

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

TvInputService.Session
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)

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

TvInputService.Session
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