다음을 통해 공유


UserManager.DisallowSimGlobally Field

Definition

This user restriction specifies if the user is able to add embedded SIMs to the device.

[Android.Runtime.Register("DISALLOW_SIM_GLOBALLY", ApiSince=35)]
public const string DisallowSimGlobally;
[<Android.Runtime.Register("DISALLOW_SIM_GLOBALLY", ApiSince=35)>]
val mutable DisallowSimGlobally : string

Field Value

Attributes

Remarks

This user restriction specifies if the user is able to add embedded SIMs to the device.

This restriction blocks the download of embedded SIMs.

This restriction can only be set by a device owner or a profile owner of an organization-owned managed profile. In both cases, the restriction applies globally on the device.

Holders of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_MOBILE_NETWORK can set this restriction using the DevicePolicyManager APIs mentioned below.

Default is false.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_SIM_GLOBALLY.

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