Delen via


SmsVoicemailMessage Class

Definition

Encapsulates an SMS voicemail message.

Note

This functionality is available only 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.

public ref class SmsVoicemailMessage sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SmsVoicemailMessage final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SmsVoicemailMessage
Public NotInheritable Class SmsVoicemailMessage
Inheritance
Object Platform::Object IInspectable SmsVoicemailMessage
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
cellularMessaging sms

Properties

Body

Gets the body of the voicemail message.

CellularClass

Gets the cellular class of the message.

DeviceId

Gets the unique device identifier associated with the message.

MessageClass

Gets the message class of the message.

MessageCount

Gets the number of available messages.

MessageType

Gets the type of the message.

SimIccId

Gets the ICCID (Integrated Circuit Card Identifier) of the SIM that received the message.

Timestamp

The timestamp of the message.

To

The phone number the message was sent to.

Applies to

See also