MediaPlayer.BufferingEnded イベント

定義

バッファリングが終了したときに発生します。

注意

MediaPlayer.BufferingEnded は、バージョン 1607 Windows 10後に変更または使用できない場合があります。 代わりに、 MediaPlayer.PlaybackSession プロパティを使用して MediaPlaybackSession オブジェクトを取得し、 MediaPlaybackSession.BufferingEnded イベントを 使用します。

// Register
event_token BufferingEnded(TypedEventHandler<MediaPlayer, IInspectable const&> const& handler) const;

// Revoke with event_token
void BufferingEnded(event_token const* cookie) const;

// Revoke with event_revoker
MediaPlayer::BufferingEnded_revoker BufferingEnded(auto_revoke_t, TypedEventHandler<MediaPlayer, IInspectable const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("Use PlaybackSession.BufferingEnded instead of BufferingEnded.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("Use PlaybackSession.BufferingEnded instead of BufferingEnded.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
// Register
event_token BufferingEnded(TypedEventHandler<MediaPlayer, IInspectable const&> const& handler) const;

// Revoke with event_token
void BufferingEnded(event_token const* cookie) const;

// Revoke with event_revoker
MediaPlayer::BufferingEnded_revoker BufferingEnded(auto_revoke_t, TypedEventHandler<MediaPlayer, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaPlayer,object> BufferingEnded;
[add: Windows.Foundation.Metadata.Deprecated("Use PlaybackSession.BufferingEnded instead of BufferingEnded.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("Use PlaybackSession.BufferingEnded instead of BufferingEnded.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<MediaPlayer,object> BufferingEnded;
function onBufferingEnded(eventArgs) { /* Your code */ }
mediaPlayer.addEventListener("bufferingended", onBufferingEnded);
mediaPlayer.removeEventListener("bufferingended", onBufferingEnded);
- or -
mediaPlayer.onbufferingended = onBufferingEnded;
Public Custom Event BufferingEnded As TypedEventHandler(Of MediaPlayer, Object) 

イベントの種類

属性

適用対象