Share via


MediaPlayer.BufferingProgress プロパティ

定義

メディア コンテンツに対して完了したバッファリングの量をパーセンテージで表して取得します。

注意

MediaPlayer.BufferingProgress は、バージョン 1607 Windows 10後に変更または使用できない場合があります。 代わりに、 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 です。

適用対象