語言

SubscriptionManager.ServiceCapabilitySms 欄位

定義

警告

This constant will be removed in the future version. Use Android.Telephony.ServiceCapabilityType enum directly instead of this field.

代表一個表示訂閱SMS功能的值。

[Android.Runtime.Register("SERVICE_CAPABILITY_SMS", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.ServiceCapabilityType enum directly instead of this field.", true)]
public const Android.Telephony.ServiceCapabilityType ServiceCapabilitySms = 2;
[<Android.Runtime.Register("SERVICE_CAPABILITY_SMS", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.ServiceCapabilityType enum directly instead of this field.", true)>]
val mutable ServiceCapabilitySms : Android.Telephony.ServiceCapabilityType

欄位值

Value = 2
屬性

備註

代表一個表示訂閱SMS功能的值。

此值用以識別訂閱是否支援各種簡訊服務。 這些服務可能包括電路交換(CS)簡訊、封包交換(PS)IMS(IP 多媒體子系統)簡訊,以及頂端(OTT)簡訊選項。

注意:緊急簡訊服務的可用性並非僅依賴此簡訊功能。 即使訂閱沒有標準簡訊功能,緊急服務也可能可用。 然而,裝置支援緊急簡訊的能力會受到其固有簡訊功能的影響,該功能由 TelephonyManager#isDeviceSmsCapable()。

Java 文件 android.telephony.SubscriptionManager.SERVICE_CAPABILITY_SMS。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於