Freigeben über


MediaPlayer.IsMutedChanged Ereignis

Definition

Tritt auf, wenn sich die aktuelle stumme status des MediaPlayer ändert.

// 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) 

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)

Gilt für: