Share via


PhoneLineWatcher.LineUpdated Event

Definition

Occurs when the PhoneLineWatcher instance detects that a phone line has been updated on the device.

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

Event Type

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Remarks

Cases where a phone line is updated include when the metadata for a phone line changes, such as with voice mail count or registration status.

Applies to