다음을 통해 공유


TelephonyManager.IsSmsCapable Property

Definition

This member is deprecated.

public virtual bool IsSmsCapable { [Android.Runtime.Register("isSmsCapable", "()Z", "GetIsSmsCapableHandler")] get; }
[<get: Android.Runtime.Register("isSmsCapable", "()Z", "GetIsSmsCapableHandler")>]
member this.IsSmsCapable : 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.

Attributes

Remarks

This member is deprecated. Replaced by #isDeviceSmsCapable(). Starting from Android 15, SMS capability may also be overridden by carriers for a given subscription. For SMS capable device (when #isDeviceSmsCapable return true), caller should check for subscription-level SMS capability as well. See #isDeviceSmsCapable for details.

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

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