다음을 통해 공유


TelephonyManager.IsMultiSimSupported Method

Definition

Returns if the usage of multiple SIM cards at the same time to register on the network (e.

[Android.Runtime.Register("isMultiSimSupported", "()I", "GetIsMultiSimSupportedHandler", ApiSince=29)]
[Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")]
public virtual Android.Telephony.MultiSimMode IsMultiSimSupported ();
[<Android.Runtime.Register("isMultiSimSupported", "()I", "GetIsMultiSimSupportedHandler", ApiSince=29)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
abstract member IsMultiSimSupported : unit -> Android.Telephony.MultiSimMode
override this.IsMultiSimSupported : unit -> Android.Telephony.MultiSimMode

Returns

#MULTISIM_ALLOWED if the device supports multiple SIMs. #MULTISIM_NOT_SUPPORTED_BY_HARDWARE if the device does not support multiple SIMs. #MULTISIM_NOT_SUPPORTED_BY_CARRIER in the device supports multiple SIMs, but the functionality is restricted by the carrier.

Attributes

Remarks

Returns if the usage of multiple SIM cards at the same time to register on the network (e.g. Dual Standby or Dual Active) is supported by the device and by the carrier.

Requires Permission: android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE or that the calling app has carrier privileges (see #hasCarrierPrivileges).

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

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