Udostępnij za pośrednictwem


MediaPlaybackSession.DownloadProgress Property

Definition

Gets a value indicating the position after the current playback Position to which downloading has completed and content is buffered.

public:
 property double DownloadProgress { double get(); };
double DownloadProgress();
public double DownloadProgress { get; }
var double = mediaPlaybackSession.downloadProgress;
Public ReadOnly Property DownloadProgress As Double

Property Value

Double

double

A value indicating the position after the current playback Position to which downloading has completed and content is buffered. The value ranges from 0 to 1. Multiply by 100 to obtain a percentage.

Remarks

This value is expressed as a value between 0 and 1 where 0 is the beginning of the content and 1 is the entire duration of the content. Your app can assume that content is currently buffered between the current playback position and the position provided by this property. Content before the current playback position may or may not be buffered currently.

Applies to