Condividi tramite


ImsMmTelManager.IsCrossSimCallingEnabled Property

Definition

This configuration is meaningful only on dual sim device.

public virtual bool IsCrossSimCallingEnabled { [Android.Runtime.Register("isCrossSimCallingEnabled", "()Z", "GetIsCrossSimCallingEnabledHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("isCrossSimCallingEnabled", "()Z", "GetIsCrossSimCallingEnabledHandler", ApiSince=31)>]
member this.IsCrossSimCallingEnabled : bool

Property Value

true if the user's setting for Voice over Cross SIM is enabled and false if it is not

Attributes

Remarks

This configuration is meaningful only on dual sim device. If enabled, this will result in the device setting up IMS of all other active subscriptions over the INTERNET APN of the primary default data subscription when any of those subscriptions are roaming or out of service and if wifi is not available for VoWifi. This feature will be disabled if CarrierConfigManager#KEY_CARRIER_CROSS_SIM_IMS_AVAILABLE_BOOL is set to false.

Following are the conditions in which system will try to register IMS over cross sim <ul> <li>Wifi is not available, one SIM is roaming and the default data SIM is in home network. Then roaming SIM IMS will be registered over INTERNET APN of the default data subscription </li> <li>Wifi is not available, one SIM is out of service and the default data SIM is in home network. Then out of service SIM IMS will be registered over INTERNET APN of the default data subscription </li> </ul>

This API requires one of the following: <ul> <li>The caller holds the READ_PRECISE_PHONE_STATE permission.</li> <li>If the caller is the device or profile owner, the caller holds the Manifest.permission#READ_PRECISE_PHONE_STATE permission.</li> <li>The caller has carrier privileges (see android.telephony.TelephonyManager#hasCarrierPrivileges) on any active subscription.</li> </ul>

The profile owner is an app that owns a managed profile on the device; for more details see Work profiles. Access by profile owners is deprecated and will be removed in a future release.

Java documentation for android.telephony.ims.ImsMmTelManager.isCrossSimCallingEnabled().

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