MediaPlaybackSession.DownloadProgress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.