Share via


TelephonyManager.PhoneCount Property

Definition

Returns the number of phones available.

public virtual int PhoneCount { [Android.Runtime.Register("getPhoneCount", "()I", "GetGetPhoneCountHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getPhoneCount", "()I", "GetGetPhoneCountHandler", ApiSince=23)>]
member this.PhoneCount : int

Property Value

Attributes

Remarks

Returns the number of phones available. Returns 0 if none of voice, sms, data is not supported Returns 1 for Single standby mode (Single SIM functionality). Returns 2 for Dual standby mode (Dual SIM functionality). Returns 3 for Tri standby mode (Tri SIM functionality).

This member is deprecated. Use #getActiveModemCount instead.

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

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