net9.0-android34.0
namespace Android.OS
{
    [Register("android/os/UserManager", DoNotGenerateAcw = true)]
    public class UserManager : Object
    {
        [Register("hasUserRestriction", "(Ljava/lang/String;)Z", "GetHasUserRestriction_Ljava_lang_String_Handler")]
        public virtual bool HasUserRestriction([StringDef(Fields = new[] { "DisallowModifyAccounts", "DisallowConfigWifi", "DisallowConfigLocale", "DisallowInstallApps", "DisallowUninstallApps", "DisallowShareLocation", "DisallowAirplaneMode", "DisallowConfigBrightness", "DisallowAmbientDisplay", "DisallowConfigScreenTimeout", "DisallowInstallUnknownSources", "DisallowInstallUnknownSourcesGlobally", "DisallowConfigBluetooth", "DisallowBluetooth", "DisallowBluetoothSharing", "DisallowUsbFileTransfer", "DisallowConfigCredentials", "DisallowRemoveUser", "DisallowRemoveManagedProfile", "DisallowDebuggingFeatures", "DisallowConfigVpn", "DisallowConfigLocation", "DisallowConfigDateTime", "DisallowConfigTethering", "DisallowNetworkReset", "DisallowFactoryReset", "DisallowAddUser", "DisallowAddManagedProfile", "EnsureVerifyApps", "DisallowConfigCellBroadcasts", "DisallowConfigMobileNetworks", "DisallowAppsControl", "DisallowMountPhysicalMedia", "DisallowUnmuteMicrophone", "DisallowAdjustVolume", "DisallowOutgoingCalls", "DisallowSms", "DisallowFun", "DisallowCreateWindows", "DisallowSystemErrorDialogs", "DisallowCrossProfileCopyPaste", "DisallowOutgoingBeam", "DisallowSetWallpaper", "DisallowSafeBoot", "DisallowDataRoaming", "DisallowSetUserIcon", "DisallowUnifiedPassword", "AllowParentProfileAppLinking", "DisallowAutofill", "DisallowContentCapture", "DisallowContentSuggestions", "DisallowUserSwitch", "DisallowShareIntoManagedProfile", "DisallowPrinting", "DisallowConfigPrivateDns", "DisallowMicrophoneToggle", "DisallowCameraToggle", "KeyRestrictionsPending", "DisallowChangeWifiState", "DisallowWifiTethering", "DisallowSharingAdminConfiguredWifi", "DisallowWifiDirect", "DisallowAddWifiConfig", "DisallowCellular2g", "DisallowUltraWidebandRadio", "DisallowGrantAdmin" }, Type = "Android.OS.UserManager")] string? restrictionKey);
    }
}
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Android 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0
Information specific to net9.0-android34.0
Assembly

Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Android >= 21
  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙