Share via


VoipCallCoordinator.MuteRequested Event

Definition

Important

The types in the Windows.Phone.Networking.Voip namespace are deprecated, and may not be available in future versions of Windows. Instead, use the equivalent types in the Windows.ApplicationModel.Calls namespace.

Raised when the VoIP app should mute all of its calls.

// Register
event_token MuteRequested(TypedEventHandler<VoipCallCoordinator, MuteChangeEventArgs const&> const& handler) const;

// Revoke with event_token
void MuteRequested(event_token const* cookie) const;

// Revoke with event_revoker
VoipCallCoordinator::MuteRequested_revoker MuteRequested(auto_revoke_t, TypedEventHandler<VoipCallCoordinator, MuteChangeEventArgs const&> const& handler) const;
public event TypedEventHandler<VoipCallCoordinator,MuteChangeEventArgs> MuteRequested;
function onMuteRequested(eventArgs) { /* Your code */ }
voipCallCoordinator.addEventListener("muterequested", onMuteRequested);
voipCallCoordinator.removeEventListener("muterequested", onMuteRequested);
- or -
voipCallCoordinator.onmuterequested = onMuteRequested;
Public Custom Event MuteRequested As TypedEventHandler(Of VoipCallCoordinator, MuteChangeEventArgs) 

Event Type

Windows requirements

App capabilities
ID_CAP_VOIP [Windows Phone]

Applies to