Udostępnij za pośrednictwem


SmsManager.SmsCapacityOnIcc Property

Definition

Gets the total capacity of SMS storage on the SIM card.

public int SmsCapacityOnIcc { [Android.Runtime.Register("getSmsCapacityOnIcc", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSmsCapacityOnIcc", "()I", "", ApiSince=31)>]
member this.SmsCapacityOnIcc : int

Property Value

the total number of SMS records which can be stored on the SIM card.

Attributes

Remarks

Gets the total capacity of SMS storage on the SIM card.

This is the number of 176 byte EF-SMS records which can be stored on the SIM card. See 3GPP TS 31.102 - 4.2.25 - EF-SMS for more information.

<p class="note"><strong>Note:</strong> This method will never trigger an SMS disambiguation dialog. If this method is called on a device that has multiple active subscriptions, this SmsManager instance has been created with #getDefault(), and no user-defined default subscription is defined, the subscription ID associated with this method will be INVALID, which will result in the operation being completed on the subscription associated with logical slot 0. Use #getSmsManagerForSubscriptionId(int) to ensure the operation is performed on the correct subscription. </p>

Java documentation for android.telephony.SmsManager.getSmsCapacityOnIcc().

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