TvInputService.OnCreateRecordingSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| OnCreateRecordingSession(String) |
Returns a concrete implementation of |
| OnCreateRecordingSession(String, String) |
Returns a concrete implementation of |
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
the unique sessionId created by TIF when session is created. This value cannot be null.
Returns
- Attributes
Remarks
Returns a concrete implementation of RecordingSession.
For any apps that needs sessionId to request tuner resources from TunerResourceManager, it needs to override this method to get the sessionId passed. When no overriding, this method calls onCreateRecordingSession(String) defaultly.
Android reference for android.media.tv.TvInputService.onCreateRecordingSession.
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.