TvInteractiveAppView.TvInteractiveAppCallback.OnRequestScheduleRecording Method

Definition

Overloads

OnRequestScheduleRecording(String, String, String, Uri, Uri, Bundle)

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

OnRequestScheduleRecording(String, String, String, Uri, Int64, Int64, RecordingWeekDays, Bundle)

This is called when TvInteractiveAppService.Session#requestScheduleRecording(String, String, Uri, long, long, int, Bundle) is called.

OnRequestScheduleRecording(String, String, String, Uri, Uri, Bundle)

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

[Android.Runtime.Register("onRequestScheduleRecording", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;Landroid/net/Uri;Landroid/os/Bundle;)V", "GetOnRequestScheduleRecording_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=34)]
public virtual void OnRequestScheduleRecording (string iAppServiceId, string requestId, string inputId, Android.Net.Uri channelUri, Android.Net.Uri programUri, Android.OS.Bundle params);
[<Android.Runtime.Register("onRequestScheduleRecording", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;Landroid/net/Uri;Landroid/os/Bundle;)V", "GetOnRequestScheduleRecording_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=34)>]
abstract member OnRequestScheduleRecording : string * string * string * Android.Net.Uri * Android.Net.Uri * Android.OS.Bundle -> unit
override this.OnRequestScheduleRecording : string * string * string * Android.Net.Uri * Android.Net.Uri * Android.OS.Bundle -> 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 #notifyRecordingScheduled(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.

inputId
String

The ID of the TV input for the given channel.

channelUri
Uri

The URI of a channel to be recorded.

programUri
Uri

The URI of the TV program to be recorded.

params
Bundle

Domain-specific data for this tune request. Keys <em>must</em> be a scoped name, i.e. prefixed with a package name you own, so that different developers will not create conflicting keys.

Attributes

Remarks

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

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

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

OnRequestScheduleRecording(String, String, String, Uri, Int64, Int64, RecordingWeekDays, Bundle)

This is called when TvInteractiveAppService.Session#requestScheduleRecording(String, String, Uri, long, long, int, Bundle) is called.

[Android.Runtime.Register("onRequestScheduleRecording", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;JJILandroid/os/Bundle;)V", "GetOnRequestScheduleRecording_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_JJILandroid_os_Bundle_Handler", ApiSince=34)]
public virtual void OnRequestScheduleRecording (string iAppServiceId, string requestId, string inputId, Android.Net.Uri channelUri, long startTime, long duration, Android.Media.TV.RecordingWeekDays repeatDays, Android.OS.Bundle params);
[<Android.Runtime.Register("onRequestScheduleRecording", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;JJILandroid/os/Bundle;)V", "GetOnRequestScheduleRecording_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_JJILandroid_os_Bundle_Handler", ApiSince=34)>]
abstract member OnRequestScheduleRecording : string * string * string * Android.Net.Uri * int64 * int64 * Android.Media.TV.RecordingWeekDays * Android.OS.Bundle -> unit
override this.OnRequestScheduleRecording : string * string * string * Android.Net.Uri * int64 * int64 * Android.Media.TV.RecordingWeekDays * Android.OS.Bundle -> 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 #notifyRecordingScheduled(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.

inputId
String

The ID of the TV input for the given channel.

channelUri
Uri

The URI of a channel to be recorded.

startTime
Int64

The start time of the recording in milliseconds since epoch.

duration
Int64

The duration of the recording in milliseconds.

repeatDays
RecordingWeekDays

The repeated days. 0 if not repeated.

params
Bundle

Domain-specific data for this tune request. Keys <em>must</em> be a scoped name, i.e. prefixed with a package name you own, so that different developers will not create conflicting keys.

Attributes

Remarks

This is called when TvInteractiveAppService.Session#requestScheduleRecording(String, String, Uri, long, long, int, Bundle) is called.

Java documentation for android.media.tv.interactive.TvInteractiveAppView.TvInteractiveAppCallback.onRequestScheduleRecording(java.lang.String, java.lang.String, java.lang.String, android.net.Uri, long, long, int, android.os.Bundle).

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