MediaPlayer.SeekCompleted MediaPlayer.SeekCompleted MediaPlayer.SeekCompleted MediaPlayer.SeekCompleted MediaPlayer.SeekCompleted Event

Definition

Occurs when a seek operation has finished.

Note

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

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

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

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


mediaPlayer.addEventListener("seekcompleted", onSeekCompleted);
mediaPlayer.removeEventListener("seekcompleted", onSeekCompleted);