MediaPlayer.BufferingStarted MediaPlayer.BufferingStarted MediaPlayer.BufferingStarted MediaPlayer.BufferingStarted MediaPlayer.BufferingStarted Event

Definition

Occurs when buffering has started.

Note

MediaPlayer.BufferingStarted 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.BufferingStarted event.

public : event TypedEventHandler<MediaPlayer, object> BufferingStarted
// Register
event_token BufferingStarted(TypedEventHandler<MediaPlayer, object> const& handler) const;

// Revoke with event_token
void BufferingStarted(event_token const& cookie) const;

// Revoke with event_revoker
BufferingStarted_revoker BufferingStarted(auto_revoke_t, TypedEventHandler<MediaPlayer, object> const& handler) const;
public event TypedEventHandler<MediaPlayer, object> BufferingStarted
Public Event BufferingStarted As TypedEventHandler (Of MediaPlayer, object)
function onBufferingStarted(eventArgs){/* Your code */}


mediaPlayer.addEventListener("bufferingstarted", onBufferingStarted);
mediaPlayer.removeEventListener("bufferingstarted", onBufferingStarted);