MediaPlayer.IsMutedChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the current muted status of the MediaPlayer changes.
// Register
event_token IsMutedChanged(TypedEventHandler<MediaPlayer, IInspectable const&> const& handler) const;
// Revoke with event_token
void IsMutedChanged(event_token const* cookie) const;
// Revoke with event_revoker
MediaPlayer::IsMutedChanged_revoker IsMutedChanged(auto_revoke_t, TypedEventHandler<MediaPlayer, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaPlayer,object> IsMutedChanged;
function onIsMutedChanged(eventArgs) { /* Your code */ }
mediaPlayer.addEventListener("ismutedchanged", onIsMutedChanged);
mediaPlayer.removeEventListener("ismutedchanged", onIsMutedChanged);
- or -
mediaPlayer.onismutedchanged = onIsMutedChanged;
Public Custom Event IsMutedChanged As TypedEventHandler(Of MediaPlayer, Object)
Event Type
TypedEventHandler<MediaPlayer,IInspectable>
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|