PhoneCall.StatusChanged 事件

定义

当 PhoneCall.Status 值更改时引发的事件。

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

事件类型

Windows 要求

应用功能
phoneCall

适用于