PhoneLineWatcher.LineUpdated 事件

定义

PhoneLineWatcher 实例检测到设备上已更新电话线时发生。

// Register
event_token LineUpdated(TypedEventHandler<PhoneLineWatcher, PhoneLineWatcherEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PhoneLineWatcher::LineUpdated_revoker LineUpdated(auto_revoke_t, TypedEventHandler<PhoneLineWatcher, PhoneLineWatcherEventArgs const&> const& handler) const;
public event TypedEventHandler<PhoneLineWatcher,PhoneLineWatcherEventArgs> LineUpdated;
function onLineUpdated(eventArgs) { /* Your code */ }
phoneLineWatcher.addEventListener("lineupdated", onLineUpdated);
phoneLineWatcher.removeEventListener("lineupdated", onLineUpdated);
- or -
phoneLineWatcher.onlineupdated = onLineUpdated;
Public Custom Event LineUpdated As TypedEventHandler(Of PhoneLineWatcher, PhoneLineWatcherEventArgs) 

事件类型

Windows 要求

应用功能
phoneCallHistory phoneCallHistorySystem

注解

更新电话线路的情况包括电话线路的元数据更改时间,例如语音邮件计数或注册状态。

适用于