PhoneLineWatcher.LineUpdated PhoneLineWatcher.LineUpdated PhoneLineWatcher.LineUpdated PhoneLineWatcher.LineUpdated PhoneLineWatcher.LineUpdated Event

Definition

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

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

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

// Revoke with event_revoker
LineUpdated_revoker LineUpdated(auto_revoke_t, TypedEventHandler<PhoneLineWatcher, PhoneLineWatcherEventArgs> const& handler) const;
public event TypedEventHandler<PhoneLineWatcher, PhoneLineWatcherEventArgs> LineUpdated
Public Event LineUpdated As TypedEventHandler (Of PhoneLineWatcher, PhoneLineWatcherEventArgs)
function onLineUpdated(eventArgs){/* Your code */}


phoneLineWatcher.addEventListener("lineupdated", onLineUpdated);
phoneLineWatcher.removeEventListener("lineupdated", onLineUpdated);

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.