Windows.Devices.Sms Namespace

Bietet die Möglichkeit, gespeicherte SMS-Nachrichten (Short Message Service) zu senden, zu empfangen und zu löschen. Bietet weiterhin die Möglichkeit, Eigenschaften eines mobilen Breitband-SMS-Geräts und seines Nachrichtenspeichers abzufragen.

Hinweis  Diese Funktionalität ist nur für Mobilfunkanbieter- und Windows Store-Apps verfügbar, die von Mobilfunknetzbetreibern, dem mobilen Breitbandadapter IHV oder OEM einen privilegierten Zugriff erhalten haben. Weitere Informationen finden Sie unter Das mobile Breitband: Windows Store-Geräte-Apps .

Member

Windows.Devices.SmsNamespace hat diese Membertypen:

Klassen

Windows.Devices.SmsNamespace hat diese Klassen.

KlasseBeschreibung
DeleteSmsMessageOperation Enables start, track, and end an asynchronous message delete operation for a single message.
DeleteSmsMessagesOperation Enables start, track, and end asynchronous SMS message delete operations for multiple messages.
GetSmsDeviceOperation Retrieves an SmsDevice object asynchronously.
GetSmsMessageOperation Supports the retrieval of a message from the SMS message store.
GetSmsMessagesOperation Supports the retrieval of messages.
SendSmsMessageOperation Enables the sending of a message.
SmsBinaryMessage Represents an SMS message in raw PDU format. The data format differs depending on whether the message format (indicated by the value of the Format property) is GSM or CDMA.
SmsDevice Supports the operation of a mobile broadband SMS device.
SmsDeviceMessageStore Provides access to the messages stored on an SMS Device and information about the message store.
SmsMessageReceivedEventArgs Provides data for ISmsBinaryMessage event handlers.
SmsReceivedEventDetails Presents the details of SMS message events to the background work item that handles messages while your app is suspended.
SmsTextMessage Manages a decoded SMS text message, providing direct access to the plain text body of the message, as well as key header properties, such as time stamp.

 

Delegaten

Windows.Devices.SmsNamespace hat diese Delegaten.

DelegatBeschreibung
SmsDeviceStatusChangedEventHandler 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.
SmsMessageReceivedEventHandler This event handler is called when a new binary message is received. Callers should implement this when they want to handle new binary messages from a given SMS device.

 

Enumerationen

Windows.Devices.SmsNamespace verfügt über folgende Enumerationen.

EnumerationBeschreibung
CellularClass This enumerated type defines the type of cellular device.
SmsDataFormat This enumerated type identifies the format of a given protocol description unit (PDU) buffer.
SmsDeviceStatus Contains values that indicate the readiness of an SMS device to engage in cellular network traffic operations.
SmsEncoding This enumerated type is used to determine the encoding algorithm to send or calculate the length of an SmsTextMessage object.
SmsMessageClass This enumerated type specifies the message class of a message. The message class typically originates on the network, not the mobile device.
SmsMessageFilter This enumerated type specifies which messages in the device message store an operation is performed on.
SmsMessageType This enumerated type defines whether the SMS message is encoded in binary or text format.

 

Schnittstellen

Windows.Devices.SmsNamespace definiert diese Schnittstellen.

SchnittstelleBeschreibung
ISmsBinaryMessage 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).
ISmsDevice This interface controls a mobile broadband SMS device. It is the primary entry point to SMS services on the device.
ISmsMessage This interface is implemented by all types of SMS messages that are supported.
ISmsTextMessage 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.

 

Strukturen

Windows.Devices.SmsNamespace hat diese Strukturen.

StrukturBeschreibung
SmsEncodedLength This structure represents information about the length of an SmsTextMessage object when it is encoded as a PDU.

 

Anforderungen

Mindestens unterstützter Client

Windows 8

Mindestens unterstützter Server

Windows Server 2012

Namespace

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

Metadaten

Windows.winmd

Capabilities

sms

 

 

Anzeigen:
© 2014 Microsoft