SmsDeviceStatusChangedEventHandler SmsDeviceStatusChangedEventHandler SmsDeviceStatusChangedEventHandler SmsDeviceStatusChangedEventHandler Delegate

Definition

This handler is called when the status on the SMS device changes. Callers should implement this when they want to be notified when a significant state change occurs on the device. For example, the caller might want to know when the device is ready to send and receive messages.

Note

This functionality is only available to mobile operator apps and UWP apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband: device apps.

public : delegate void SmsDeviceStatusChangedEventHandler(SmsDevice sender)
public delegate void SmsDeviceStatusChangedEventHandler(SmsDevice sender)
Public Delegate SmsDeviceStatusChangedEventHandler(sender As SmsDevice)
var smsDeviceStatusChangedEventHandler = function(sender) {

 /* Your code */

}
Parameters
sender
SmsDevice SmsDevice SmsDevice SmsDevice

A reference to the device object that sent the event.

Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Devices.Sms.LegacySmsApiContract (introduced v1)
Capabilities
sms cellularMessaging