Share via


PhoneCall.StatusChanged Event

Definition

An event that's raised when the value of PhoneCall.Status changes.

// Register
event_token StatusChanged(TypedEventHandler<PhoneCall, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
PhoneCall::StatusChanged_revoker StatusChanged(auto_revoke_t, TypedEventHandler<PhoneCall, IInspectable const&> const& handler) const;
public event TypedEventHandler<PhoneCall,object> StatusChanged;
function onStatusChanged(eventArgs) { /* Your code */ }
phoneCall.addEventListener("statuschanged", onStatusChanged);
phoneCall.removeEventListener("statuschanged", onStatusChanged);
- or -
phoneCall.onstatuschanged = onStatusChanged;
Public Custom Event StatusChanged As TypedEventHandler(Of PhoneCall, Object) 

Event Type

Windows requirements

App capabilities
phoneCall

Applies to