Compartilhar via


UserManager.DisallowSharingAdminConfiguredWifi Field

Definition

Specifies if users are disallowed from sharing Wi-Fi for admin configured networks.

[Android.Runtime.Register("DISALLOW_SHARING_ADMIN_CONFIGURED_WIFI", ApiSince=33)]
public const string DisallowSharingAdminConfiguredWifi;
[<Android.Runtime.Register("DISALLOW_SHARING_ADMIN_CONFIGURED_WIFI", ApiSince=33)>]
val mutable DisallowSharingAdminConfiguredWifi : string

Field Value

Attributes

Remarks

Specifies if users are disallowed from sharing Wi-Fi for admin configured networks.

Device owner and profile owner can set this restriction. When it is set by any of these owners, it prevents all users from sharing Wi-Fi for networks configured by these owners. Other networks not configured by these owners are not affected.

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

The default value is false.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_SHARING_ADMIN_CONFIGURED_WIFI.

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