共用方式為


TvInteractiveAppService.Session.OnRecordingStarted(String, String) Method

Definition

This is called when a recording has been started.

[Android.Runtime.Register("onRecordingStarted", "(Ljava/lang/String;Ljava/lang/String;)V", "GetOnRecordingStarted_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=34)]
public virtual void OnRecordingStarted (string recordingId, string? requestId);
[<Android.Runtime.Register("onRecordingStarted", "(Ljava/lang/String;Ljava/lang/String;)V", "GetOnRecordingStarted_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member OnRecordingStarted : string * string -> unit
override this.OnRecordingStarted : string * string -> unit

Parameters

recordingId
String

The ID of the recording started. The TV app should provide and maintain this ID to identify the recording in the future.

requestId
String

The ID of the request when #requestStartRecording(String, Uri) is called. null if the recording is not triggered by a #requestStartRecording(String, Uri) request. This ID should be created by the TvInteractiveAppService and can be any string.

Attributes

Remarks

This is called when a recording has been started.

When a scheduled recording is started, this is also called, and the request ID in this case is null.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.onRecordingStarted(java.lang.String, 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