Udostępnij za pośrednictwem


TvInputService.OnCreateRecordingSession Method

Definition

Overloads

OnCreateRecordingSession(String)

Returns a concrete implementation of RecordingSession.

OnCreateRecordingSession(String, String)

Returns a concrete implementation of RecordingSession.

OnCreateRecordingSession(String)

Returns a concrete implementation of RecordingSession.

[Android.Runtime.Register("onCreateRecordingSession", "(Ljava/lang/String;)Landroid/media/tv/TvInputService$RecordingSession;", "GetOnCreateRecordingSession_Ljava_lang_String_Handler", ApiSince=24)]
public virtual Android.Media.TV.TvInputService.RecordingSession? OnCreateRecordingSession (string inputId);
[<Android.Runtime.Register("onCreateRecordingSession", "(Ljava/lang/String;)Landroid/media/tv/TvInputService$RecordingSession;", "GetOnCreateRecordingSession_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member OnCreateRecordingSession : string -> Android.Media.TV.TvInputService.RecordingSession
override this.OnCreateRecordingSession : string -> Android.Media.TV.TvInputService.RecordingSession

Parameters

inputId
String

The ID of the TV input associated with the recording session.

Returns

Attributes

Remarks

Java documentation for android.media.tv.TvInputService.onCreateRecordingSession(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

OnCreateRecordingSession(String, String)

Returns a concrete implementation of RecordingSession.

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

Parameters

inputId
String

The ID of the TV input associated with the recording session.

sessionId
String

Returns

Attributes

Remarks

Java documentation for android.media.tv.TvInputService.onCreateRecordingSession(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