TelephonyManager.DoesSwitchMultiSimConfigTriggerReboot Method

Definition

Get whether making changes to modem configurations by #switchMultiSimConfig(int) will trigger device reboot.

[Android.Runtime.Register("doesSwitchMultiSimConfigTriggerReboot", "()Z", "GetDoesSwitchMultiSimConfigTriggerRebootHandler", ApiSince=29)]
[Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")]
public virtual bool DoesSwitchMultiSimConfigTriggerReboot ();
[<Android.Runtime.Register("doesSwitchMultiSimConfigTriggerReboot", "()Z", "GetDoesSwitchMultiSimConfigTriggerRebootHandler", ApiSince=29)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
abstract member DoesSwitchMultiSimConfigTriggerReboot : unit -> bool
override this.DoesSwitchMultiSimConfigTriggerReboot : unit -> bool

Returns

true if reboot will be triggered after making changes to modem configurations, otherwise return false.

Attributes

Remarks

Get whether making changes to modem configurations by #switchMultiSimConfig(int) will trigger device reboot. The modem configuration change refers to switching from single SIM configuration to DSDS or the other way around.

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.doesSwitchMultiSimConfigTriggerReboot().

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