PhoneLineWatcher.LineUpdated Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.