Compartilhar via


TvInteractiveAppService.Session.RequestScheduleRecording Method

Definition

Overloads

RequestScheduleRecording(String, String, Uri, Uri, Bundle)

Requests scheduling of a recording.

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

Requests scheduling of a recording.

RequestScheduleRecording(String, String, Uri, Uri, Bundle)

Requests scheduling of a recording.

[Android.Runtime.Register("requestScheduleRecording", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;Landroid/net/Uri;Landroid/os/Bundle;)V", "GetRequestScheduleRecording_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=34)]
public virtual void RequestScheduleRecording (string requestId, string inputId, Android.Net.Uri channelUri, Android.Net.Uri programUri, Android.OS.Bundle params);
[<Android.Runtime.Register("requestScheduleRecording", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;Landroid/net/Uri;Landroid/os/Bundle;)V", "GetRequestScheduleRecording_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=34)>]
abstract member RequestScheduleRecording : string * string * Android.Net.Uri * Android.Net.Uri * Android.OS.Bundle -> unit
override this.RequestScheduleRecording : string * string * Android.Net.Uri * Android.Net.Uri * Android.OS.Bundle -> unit

Parameters

requestId
String

The ID of this request which is used to match the corresponding response. The request ID in #onRecordingScheduled(String, String) for this request is the same as the ID sent here. This should be defined by the TvInteractiveAppService 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

Requests scheduling of a recording.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.requestScheduleRecording(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

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

Requests scheduling of a recording.

[Android.Runtime.Register("requestScheduleRecording", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;JJILandroid/os/Bundle;)V", "GetRequestScheduleRecording_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_JJILandroid_os_Bundle_Handler", ApiSince=34)]
public virtual void RequestScheduleRecording (string requestId, string inputId, Android.Net.Uri channelUri, long startTime, long duration, Android.Media.TV.RecordingWeekDays repeatDays, Android.OS.Bundle params);
[<Android.Runtime.Register("requestScheduleRecording", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;JJILandroid/os/Bundle;)V", "GetRequestScheduleRecording_Ljava_lang_String_Ljava_lang_String_Landroid_net_Uri_JJILandroid_os_Bundle_Handler", ApiSince=34)>]
abstract member RequestScheduleRecording : string * string * Android.Net.Uri * int64 * int64 * Android.Media.TV.RecordingWeekDays * Android.OS.Bundle -> unit
override this.RequestScheduleRecording : string * string * Android.Net.Uri * int64 * int64 * Android.Media.TV.RecordingWeekDays * Android.OS.Bundle -> unit

Parameters

requestId
String

The ID of this request which is used to match the corresponding response. The request ID in #onRecordingScheduled(String, String) for this request is the same as the ID sent here. This should be defined by the TvInteractiveAppService 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

Requests scheduling of a recording.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.requestScheduleRecording(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