MediaPlayer.BufferingProgress 屬性

定義

取得媒體內容完成的緩衝量,以百分比表示。

注意

MediaPlayer.BufferingProgress可能會在 Windows 10 1607 版之後變更或無法使用。 請改用 MediaPlayer.PlaybackSession 屬性來取得 MediaPlaybackSession 物件,然後使用 MediaPlaybackSession.BufferingProgress 屬性。

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

屬性值

Double

double

媒體內容完成的緩衝量。

屬性

備註

值的範圍從 0 到 1。 乘以 100 以取得百分比。 預設值為 0。

適用於