Partager via


TelephonyManager.IsDeviceSmsCapable Property

Definition

public virtual bool IsDeviceSmsCapable { [Android.Runtime.Register("isDeviceSmsCapable", "()Z", "GetIsDeviceSmsCapableHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("isDeviceSmsCapable", "()Z", "GetIsDeviceSmsCapableHandler", ApiSince=35)>]
member this.IsDeviceSmsCapable : bool

Property Value

true if the current device supports SMS service. <p> If true, this means that the device supports both sending and receiving SMS via the telephony network. <p> Note: Voicemail waiting SMS, cell broadcasting SMS, and MMS are disabled when device doesn't support SMS. <p> Starting from Android 15, SMS capability may also be overridden by carriers for a given subscription on an SMS capable device. To check if a subscription is "SMS capable", call method SubscriptionInfo#getServiceCapabilities() and check if SubscriptionManager#SERVICE_CAPABILITY_SMS is included.

Attributes

Remarks

Java documentation for android.telephony.TelephonyManager.isDeviceSmsCapable().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to