ISmsBinaryMessage interface

Applies to Windows only

This interface provides access to the raw binary format of an SMS message. The message is stored in the industry standard protocol description unit (PDU) format (see the SMS specification GSM 03.40).

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


public interface ISmsBinaryMessage : ISmsMessage

Attributes

[Version(0x06020000)]

Members

The ISmsBinaryMessage interface has these types of members:

Methods

The ISmsBinaryMessage interface has these methods. It also inherits methods from the Object class.

MethodDescription
GetData Returns the raw buffer of the message in binary protocol description unit (PDU) format as a byte array.
SetData Specifies the raw binary payload of the SMS message. It should be formatted according to the protocol description unit (PDU) standard.

 

Properties

The ISmsBinaryMessage interface has these properties.

PropertyAccess typeDescription

Format

Read/writeRetrieves the detected protocol description unit (PDU) format of this message.

 

Remarks

Interface inheritance

ISmsBinaryMessage inherits ISmsMessage. Types that implement ISmsBinaryMessage also implement the interface members of ISmsMessage.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Devices.Sms
Windows::Devices::Sms [C++]

Metadata

Windows.winmd

Capabilities

sms

See also

ISmsMessage

 

 

Show:
© 2014 Microsoft