Windows.Devices.Sms.SmsDevice.FromIdAsync

August 14, 2017 ยท View on GitHub

-description

Creates an instance of SmsDevice for the device that received the SMS message.

-parameters

-param deviceId

A string representation of the DeviceInformation ID of the SMS device that received the SMS message.

-returns

The SMS device operation object.

-remarks

The SmsReceivedEventDetails interface handles the details of a received message; you can pass the DeviceInformation ID from that interface to this method to activate the device and retrieve additional message details, such as the sender and the body of the message. Because the device might be busy, the operation executes asynchronously. The asynchronous operation object returns immediately.

-examples

-see-also

-capabilities

cellularMessaging, sms