MediaPlayer.VolumeChanged MediaPlayer.VolumeChanged MediaPlayer.VolumeChanged MediaPlayer.VolumeChanged MediaPlayer.VolumeChanged Event

Definition

Occurs when the volume of the audio has changed.

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

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

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


mediaPlayer.addEventListener("volumechanged", onVolumeChanged);
mediaPlayer.removeEventListener("volumechanged", onVolumeChanged);