ISmsTextMessage interface
This interface manipulates a decoded SMS text message. It provides direct access to the plain text body of the message, as well as key header properties, such as time stamp.
Note This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband: Windows Store device apps.
Syntax
Attributes
- GuidAttribute("d61c904c-a495-487f-9a6f-971548c5bc9f")
- VersionAttribute(NTDDI_WIN8)
Members
The ISmsTextMessage interface has these types of members:
Methods
The ISmsTextMessage interface has these methods. It also inherits methods from the Object class.
| Method | Description |
|---|---|
| ToBinaryMessages | Reads a message in the specified format and places the results in a new instance of a binary message. |
Properties
The ISmsTextMessage interface has these properties.
| Property | Access type | Description |
|---|---|---|
| Read/write | Specifies the plain text body of the message. | |
| Read/write | Specifies the encoding type that has been set to use when sending this message. | |
| Read/write | Specifies the phone number of the sender of the message. | |
| Read-only | Retrieves the total number of parts in the original message if the message is part of a multi-part message. | |
| Read-only | Retrieves the part number of a multi-part message if this message is part of a multi-part message. It can be used to reconstruct the original message by joining the parts together, in conjunction with the PartReferenceId and PartCount properties. | |
| Read-only | Indicates a reference value that can be used if the message is part of a multi-part message. If this message belongs to a multi-part message, the PartNumber value can be used to reconstruct the full original message, and each part of that message will have the same value for PartReferenceId. | |
| Read-only | Retrieves the timestamp of the message. It is determined locally for a constructed message instance or from the service center timestamp of a received message. | |
| Read/write | Specifies the recipient phone number of this message. |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
|
Capabilities |
|
See also
Build date: 12/4/2012
