Share via


VoipPhoneCall.EndRequested Event

Definition

Raised to alert the VoIP app that the call should be ended.

// Register
event_token EndRequested(TypedEventHandler<VoipPhoneCall, CallStateChangeEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
VoipPhoneCall::EndRequested_revoker EndRequested(auto_revoke_t, TypedEventHandler<VoipPhoneCall, CallStateChangeEventArgs const&> const& handler) const;
public event TypedEventHandler<VoipPhoneCall,CallStateChangeEventArgs> EndRequested;
function onEndRequested(eventArgs) { /* Your code */ }
voipPhoneCall.addEventListener("endrequested", onEndRequested);
voipPhoneCall.removeEventListener("endrequested", onEndRequested);
- or -
voipPhoneCall.onendrequested = onEndRequested;
Public Custom Event EndRequested As TypedEventHandler(Of VoipPhoneCall, CallStateChangeEventArgs) 

Event Type

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem voipCall

Remarks

After this event has been raised, the application is required to call NotifyCallEnded within 5 seconds.

Applies to