MediaPlaybackSession.GetSeekableRanges Method

Definition

Retrieves a read-only list of time ranges in which the playack position can be seeked to. For live streaming, these ranges represent the times ranges for which data is still available.

public:
 virtual IVectorView<MediaTimeRange> ^ GetSeekableRanges() = GetSeekableRanges;
IVectorView<MediaTimeRange> GetSeekableRanges();
public IReadOnlyList<MediaTimeRange> GetSeekableRanges();
function getSeekableRanges()
Public Function GetSeekableRanges () As IReadOnlyList(Of MediaTimeRange)

Returns

A read-only list of time ranges.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to