SmsBroadcastMessage 類別

定義

表示廣播 SMS 訊息。

注意

這項功能僅適用于行動電信業者、行動寬頻介面卡 IHV 或 OEM 提供特殊許可權存取的電信業者和 UWP 應用程式。 如需詳細資訊,請參閱 行動寬頻

public ref class SmsBroadcastMessage sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SmsBroadcastMessage final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SmsBroadcastMessage
Public NotInheritable Class SmsBroadcastMessage
繼承
Object Platform::Object IInspectable SmsBroadcastMessage
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
cellularMessaging sms

屬性

Body

取得廣播 SMS 訊息的本文。

BroadcastType

取得這個廣播 SMS 訊息的類型。

CellularClass

取得這個廣播訊息的行動電話通訊類別。

Channel

取得與廣播 SMS 訊息相關聯的通道。

DeviceId

取得接收廣播 SMS 訊息之裝置的裝置識別碼。

GeographicalScope

取得與此廣播 SMS 訊息相關聯的地理範圍。

IsEmergencyAlert

當廣播 SMS 訊息為緊急警示時,則為 True。

IsUserPopupRequested

True 是表示 當此廣播簡訊要求使用者快顯時。

MessageClass

取得與此廣播 SMS 訊息相關聯的訊息類別。

MessageCode

取得與此廣播 SMS 訊息相關聯的程式碼值。

MessageType

取得廣播 SMS 訊息的訊息類型。

SimIccId

取得接收訊息之 SIM 卡) (的 ICCID。

Timestamp

取得廣播 SMS 訊息的時間戳記。

To

取得廣播簡訊的收件者電話號碼。

UpdateNumber

取得與此廣播 SMS 訊息相關聯的更新號碼。

適用於

另請參閱