Bagikan melalui


TvContract.BuildProgramsUriForChannel Method

Definition

Overloads

BuildProgramsUriForChannel(Int64, Int64, Int64)

Builds a URI that points to programs on a specific channel whose schedules overlap with the given time frame.

BuildProgramsUriForChannel(Uri, Int64, Int64)

Builds a URI that points to programs on a specific channel whose schedules overlap with the given time frame.

BuildProgramsUriForChannel(Int64)

Builds a URI that points to all programs on a given channel.

BuildProgramsUriForChannel(Uri)

Builds a URI that points to all programs on a given channel.

BuildProgramsUriForChannel(Int64, Int64, Int64)

Builds a URI that points to programs on a specific channel whose schedules overlap with the given time frame.

[Android.Runtime.Register("buildProgramsUriForChannel", "(JJJ)Landroid/net/Uri;", "")]
public static Android.Net.Uri? BuildProgramsUriForChannel (long channelId, long startTime, long endTime);
[<Android.Runtime.Register("buildProgramsUriForChannel", "(JJJ)Landroid/net/Uri;", "")>]
static member BuildProgramsUriForChannel : int64 * int64 * int64 -> Android.Net.Uri

Parameters

channelId
Int64

The ID of the channel to return programs for.

startTime
Int64

The start time used to filter programs. The returned programs will have a Programs#COLUMN_END_TIME_UTC_MILLIS that is greater than or equal to startTime.

endTime
Int64

The end time used to filter programs. The returned programs will have Programs#COLUMN_START_TIME_UTC_MILLIS that is less than or equal to endTime.

Returns

Uri
Attributes

Remarks

Builds a URI that points to programs on a specific channel whose schedules overlap with the given time frame.

Java documentation for android.media.tv.TvContract.buildProgramsUriForChannel(long, long, long).

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

BuildProgramsUriForChannel(Uri, Int64, Int64)

Builds a URI that points to programs on a specific channel whose schedules overlap with the given time frame.

[Android.Runtime.Register("buildProgramsUriForChannel", "(Landroid/net/Uri;JJ)Landroid/net/Uri;", "")]
public static Android.Net.Uri? BuildProgramsUriForChannel (Android.Net.Uri? channelUri, long startTime, long endTime);
[<Android.Runtime.Register("buildProgramsUriForChannel", "(Landroid/net/Uri;JJ)Landroid/net/Uri;", "")>]
static member BuildProgramsUriForChannel : Android.Net.Uri * int64 * int64 -> Android.Net.Uri

Parameters

channelUri
Uri

The URI of the channel to return programs for.

startTime
Int64

The start time used to filter programs. The returned programs should have Programs#COLUMN_END_TIME_UTC_MILLIS that is greater than this time.

endTime
Int64

The end time used to filter programs. The returned programs should have Programs#COLUMN_START_TIME_UTC_MILLIS that is less than this time.

Returns

Uri
Attributes

Remarks

Builds a URI that points to programs on a specific channel whose schedules overlap with the given time frame.

Java documentation for android.media.tv.TvContract.buildProgramsUriForChannel(android.net.Uri, long, long).

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

BuildProgramsUriForChannel(Int64)

Builds a URI that points to all programs on a given channel.

[Android.Runtime.Register("buildProgramsUriForChannel", "(J)Landroid/net/Uri;", "")]
public static Android.Net.Uri? BuildProgramsUriForChannel (long channelId);
[<Android.Runtime.Register("buildProgramsUriForChannel", "(J)Landroid/net/Uri;", "")>]
static member BuildProgramsUriForChannel : int64 -> Android.Net.Uri

Parameters

channelId
Int64

The ID of the channel to return programs for.

Returns

Uri
Attributes

Remarks

Builds a URI that points to all programs on a given channel.

Java documentation for android.media.tv.TvContract.buildProgramsUriForChannel(long).

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

BuildProgramsUriForChannel(Uri)

Builds a URI that points to all programs on a given channel.

[Android.Runtime.Register("buildProgramsUriForChannel", "(Landroid/net/Uri;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? BuildProgramsUriForChannel (Android.Net.Uri? channelUri);
[<Android.Runtime.Register("buildProgramsUriForChannel", "(Landroid/net/Uri;)Landroid/net/Uri;", "")>]
static member BuildProgramsUriForChannel : Android.Net.Uri -> Android.Net.Uri

Parameters

channelUri
Uri

The URI of the channel to return programs for.

Returns

Uri
Attributes

Remarks

Builds a URI that points to all programs on a given channel.

Java documentation for android.media.tv.TvContract.buildProgramsUriForChannel(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