語言

TimelineRequest Constructors

Definition

Overloads

Name Description
TimelineRequest(Int32, Int32, Int32)

Creates a timeline request without a selector.

TimelineRequest(Int32, BroadcastInfoRequestOption, Int32, String)

Creates a timeline request with the supplied selector.

TimelineRequest(Int32, Int32, Int32)

Creates a timeline request without a selector.

[Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=33)]
public TimelineRequest(int requestId, int option, int intervalMillis);
[<Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=33)>]
new Android.Media.TV.TimelineRequest : int * int * int -> Android.Media.TV.TimelineRequest

Parameters

requestId
Int32

The identifier passed to the broadcast request.

option
Int32

Value is one of the following: BroadcastInfoRequest.REQUEST_OPTION_REPEAT; BroadcastInfoRequest.REQUEST_OPTION_AUTO_UPDATE; BroadcastInfoRequest.REQUEST_OPTION_ONEWAY; BroadcastInfoRequest.REQUEST_OPTION_ONESHOT

intervalMillis
Int32

The interval, in milliseconds, stored in the request.

Attributes

Remarks

Android reference for android.media.tv.TimelineRequest.TimelineRequest.

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

TimelineRequest(Int32, BroadcastInfoRequestOption, Int32, String)

Creates a timeline request with the supplied selector.

[Android.Runtime.Register(".ctor", "(IIILjava/lang/String;)V", "", ApiSince=34)]
public TimelineRequest(int requestId, Android.Media.TV.BroadcastInfoRequestOption option, int intervalMillis, string selector);
[<Android.Runtime.Register(".ctor", "(IIILjava/lang/String;)V", "", ApiSince=34)>]
new Android.Media.TV.TimelineRequest : int * Android.Media.TV.BroadcastInfoRequestOption * int * string -> Android.Media.TV.TimelineRequest

Parameters

requestId
Int32

The identifier passed to the broadcast request.

option
BroadcastInfoRequestOption

Value is one of the following: BroadcastInfoRequest.REQUEST_OPTION_REPEAT; BroadcastInfoRequest.REQUEST_OPTION_AUTO_UPDATE; BroadcastInfoRequest.REQUEST_OPTION_ONEWAY; BroadcastInfoRequest.REQUEST_OPTION_ONESHOT

intervalMillis
Int32

The interval, in milliseconds, stored in the request.

selector
String

The selector string stored in the request.

Attributes

Remarks

Android reference for android.media.tv.TimelineRequest.TimelineRequest.

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