Share via


MediaPlayer.BufferingProgress Property

Definition

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

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.

Applies to