MediaPlayer.BufferingProgress 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.
Gets the amount of buffering that is completed for the media content, expressed as a percentage.
Note
MediaPlayer.BufferingProgress may be altered or unavailable after Windows 10, version 1607. Instead, use the MediaPlayer.PlaybackSession property to get a MediaPlaybackSession object and then use the MediaPlaybackSession.BufferingProgress property.
public:
property double BufferingProgress { double get(); };
double BufferingProgress();
/// [get: Windows.Foundation.Metadata.Deprecated("Use PlaybackSession.BufferingProgress instead of BufferingProgress. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
double BufferingProgress();
public double BufferingProgress { get; }
public double BufferingProgress { [Windows.Foundation.Metadata.Deprecated("Use PlaybackSession.BufferingProgress instead of BufferingProgress. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")] get; }
var double = mediaPlayer.bufferingProgress;
Public ReadOnly Property BufferingProgress As Double
Property Value
double
The amount of buffering that is completed for the media content.
- Attributes
Remarks
The value ranges from 0 to 1. Multiply by 100 to obtain a percentage. The default value is 0.