ISmsDevice.SmsDeviceStatusChanged ISmsDevice.SmsDeviceStatusChanged ISmsDevice.SmsDeviceStatusChanged ISmsDevice.SmsDeviceStatusChanged ISmsDevice.SmsDeviceStatusChanged Event

Definition

Sets an event handler to be called when the status of the SMS device changes.

public : event SmsDeviceStatusChangedEventHandler SmsDeviceStatusChanged
// Register
event_token SmsDeviceStatusChanged(SmsDeviceStatusChangedEventHandler const& handler) const;

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

// Revoke with event_revoker
SmsDeviceStatusChanged_revoker SmsDeviceStatusChanged(auto_revoke_t, SmsDeviceStatusChangedEventHandler const& handler) const;
public event SmsDeviceStatusChangedEventHandler SmsDeviceStatusChanged
Public Event SmsDeviceStatusChanged As SmsDeviceStatusChangedEventHandler
function onSmsDeviceStatusChanged(eventArgs){/* Your code */}


iSmsDevice.addEventListener("smsdevicestatuschanged", onSmsDeviceStatusChanged);
iSmsDevice.removeEventListener("smsdevicestatuschanged", onSmsDeviceStatusChanged);