Delen via


MediaPlaybackSession.GetBufferedRanges Method

Definition

Retrieves a read-only list of time ranges for which data is buffered and playback can begin immediately.

public:
 virtual IVectorView<MediaTimeRange> ^ GetBufferedRanges() = GetBufferedRanges;
IVectorView<MediaTimeRange> GetBufferedRanges();
public IReadOnlyList<MediaTimeRange> GetBufferedRanges();
function getBufferedRanges()
Public Function GetBufferedRanges () 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