Udostępnij za pośrednictwem


MediaPlaybackSession.GetPlayedRanges Method

Definition

Retrieves a read-only list of time ranges for which content has been played back.

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