Partager via


TvInteractiveAppView.TvInteractiveAppCallback.OnRequestStartRecording Method

Definition

This is called when TvInteractiveAppService.Session#requestStartRecording(String, Uri) is called.

[Android.Runtime.Register("onRequestStartRecording", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;)V", "GetOnRequestStartRecording_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_Handler", ApiSince=34)]
public virtual void OnRequestStartRecording (string iAppServiceId, string requestId, Android.Net.Uri? programUri);
[<Android.Runtime.Register("onRequestStartRecording", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;)V", "GetOnRequestStartRecording_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_Handler", ApiSince=34)>]
abstract member OnRequestStartRecording : string * string * Android.Net.Uri -> unit
override this.OnRequestStartRecording : string * string * Android.Net.Uri -> unit

Parameters

iAppServiceId
String

The ID of the TV interactive app service bound to this view.

requestId
String

The ID of this request which is used to match the corresponding response. The request ID in #notifyRecordingStarted(String, String) for this request is the same as the ID sent here. This should be defined by the TIAS and can be any string. Should this API be called with the same requestId twice, both requests should be handled regardless by the TV application.

programUri
Uri

The URI of the program to record

Attributes

Remarks

This is called when TvInteractiveAppService.Session#requestStartRecording(String, Uri) is called.

Java documentation for android.media.tv.interactive.TvInteractiveAppView.TvInteractiveAppCallback.onRequestStartRecording(java.lang.String, java.lang.String, android.net.Uri).

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