ISmsDeviceISmsDeviceISmsDeviceISmsDeviceISmsDevice
Interface

Definition

This interface controls a mobile broadband SMS device. It is the primary entry point to SMS services on the device.

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.

In this article

public : interface ISmsDevice

struct winrt::Windows::Devices::Sms::ISmsDevice

public interface ISmsDevice

Public Interface ISmsDevice

// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.

Properties

Returns the phone number associated with the SMS device. The phone number can be used to associate incoming messages with the account and possibly an external storage mechanism such as an account inbox.

Methods

Estimates the transmitted message length of the specified text message. The estimate can be useful to clients who want to give an indication of how many messages will be sent on the network to carry the text of the full message.