Policy constructor

Policy({
  1. List<String>? accountTypesWithManagementDisabled,
  2. bool? addUserDisabled,
  3. bool? adjustVolumeDisabled,
  4. AdvancedSecurityOverrides? advancedSecurityOverrides,
  5. AlwaysOnVpnPackage? alwaysOnVpnPackage,
  6. List<String>? androidDevicePolicyTracks,
  7. String? appAutoUpdatePolicy,
  8. String? appFunctions,
  9. List<ApplicationPolicy>? applications,
  10. String? assistContentPolicy,
  11. String? autoDateAndTimeZone,
  12. bool? autoTimeRequired,
  13. bool? blockApplicationsEnabled,
  14. bool? bluetoothConfigDisabled,
  15. bool? bluetoothContactSharingDisabled,
  16. bool? bluetoothDisabled,
  17. String? cameraAccess,
  18. bool? cameraDisabled,
  19. bool? cellBroadcastsConfigDisabled,
  20. List<ChoosePrivateKeyRule>? choosePrivateKeyRules,
  21. List<ComplianceRule>? complianceRules,
  22. bool? createWindowsDisabled,
  23. String? credentialProviderPolicyDefault,
  24. bool? credentialsConfigDisabled,
  25. CrossProfilePolicies? crossProfilePolicies,
  26. bool? dataRoamingDisabled,
  27. bool? debuggingFeaturesAllowed,
  28. List<DefaultApplicationSetting>? defaultApplicationSettings,
  29. String? defaultPermissionPolicy,
  30. DeviceConnectivityManagement? deviceConnectivityManagement,
  31. UserFacingMessage? deviceOwnerLockScreenInfo,
  32. DeviceRadioState? deviceRadioState,
  33. DisplaySettings? displaySettings,
  34. String? encryptionPolicy,
  35. bool? ensureVerifyAppsEnabled,
  36. String? enterpriseDisplayNameVisibility,
  37. bool? factoryResetDisabled,
  38. List<String>? frpAdminEmails,
  39. bool? funDisabled,
  40. bool? installAppsDisabled,
  41. bool? installUnknownSourcesAllowed,
  42. bool? keyguardDisabled,
  43. List<String>? keyguardDisabledFeatures,
  44. bool? kioskCustomLauncherEnabled,
  45. KioskCustomization? kioskCustomization,
  46. String? locationMode,
  47. UserFacingMessage? longSupportMessage,
  48. String? maximumTimeToLock,
  49. String? microphoneAccess,
  50. int? minimumApiLevel,
  51. bool? mobileNetworksConfigDisabled,
  52. bool? modifyAccountsDisabled,
  53. bool? mountPhysicalMediaDisabled,
  54. String? name,
  55. bool? networkEscapeHatchEnabled,
  56. bool? networkResetDisabled,
  57. List<OncCertificateProvider>? oncCertificateProviders,
  58. Map<String, Object?>? openNetworkConfiguration,
  59. bool? outgoingBeamDisabled,
  60. bool? outgoingCallsDisabled,
  61. List<PasswordRequirements>? passwordPolicies,
  62. PasswordRequirements? passwordRequirements,
  63. List<PermissionGrant>? permissionGrants,
  64. PackageNameList? permittedAccessibilityServices,
  65. PackageNameList? permittedInputMethods,
  66. List<PersistentPreferredActivity>? persistentPreferredActivities,
  67. PersonalUsagePolicies? personalUsagePolicies,
  68. String? playStoreMode,
  69. List<PolicyEnforcementRule>? policyEnforcementRules,
  70. String? preferentialNetworkService,
  71. String? printingPolicy,
  72. bool? privateKeySelectionEnabled,
  73. ProxyInfo? recommendedGlobalProxy,
  74. bool? removeUserDisabled,
  75. bool? safeBootDisabled,
  76. bool? screenCaptureDisabled,
  77. bool? setUserIconDisabled,
  78. bool? setWallpaperDisabled,
  79. List<SetupAction>? setupActions,
  80. bool? shareLocationDisabled,
  81. UserFacingMessage? shortSupportMessage,
  82. bool? skipFirstUseHintsEnabled,
  83. bool? smsDisabled,
  84. bool? statusBarDisabled,
  85. StatusReportingSettings? statusReportingSettings,
  86. List<String>? stayOnPluggedModes,
  87. SystemUpdate? systemUpdate,
  88. bool? tetheringConfigDisabled,
  89. bool? uninstallAppsDisabled,
  90. bool? unmuteMicrophoneDisabled,
  91. UsageLog? usageLog,
  92. bool? usbFileTransferDisabled,
  93. bool? usbMassStorageEnabled,
  94. String? version,
  95. bool? vpnConfigDisabled,
  96. bool? wifiConfigDisabled,
  97. bool? wifiConfigsLockdownEnabled,
  98. List<String>? wipeDataFlags,
  99. WorkAccountSetupConfig? workAccountSetupConfig,
})

Implementation

Policy({
  this.accountTypesWithManagementDisabled,
  this.addUserDisabled,
  this.adjustVolumeDisabled,
  this.advancedSecurityOverrides,
  this.alwaysOnVpnPackage,
  this.androidDevicePolicyTracks,
  this.appAutoUpdatePolicy,
  this.appFunctions,
  this.applications,
  this.assistContentPolicy,
  this.autoDateAndTimeZone,
  this.autoTimeRequired,
  this.blockApplicationsEnabled,
  this.bluetoothConfigDisabled,
  this.bluetoothContactSharingDisabled,
  this.bluetoothDisabled,
  this.cameraAccess,
  this.cameraDisabled,
  this.cellBroadcastsConfigDisabled,
  this.choosePrivateKeyRules,
  this.complianceRules,
  this.createWindowsDisabled,
  this.credentialProviderPolicyDefault,
  this.credentialsConfigDisabled,
  this.crossProfilePolicies,
  this.dataRoamingDisabled,
  this.debuggingFeaturesAllowed,
  this.defaultApplicationSettings,
  this.defaultPermissionPolicy,
  this.deviceConnectivityManagement,
  this.deviceOwnerLockScreenInfo,
  this.deviceRadioState,
  this.displaySettings,
  this.encryptionPolicy,
  this.ensureVerifyAppsEnabled,
  this.enterpriseDisplayNameVisibility,
  this.factoryResetDisabled,
  this.frpAdminEmails,
  this.funDisabled,
  this.installAppsDisabled,
  this.installUnknownSourcesAllowed,
  this.keyguardDisabled,
  this.keyguardDisabledFeatures,
  this.kioskCustomLauncherEnabled,
  this.kioskCustomization,
  this.locationMode,
  this.longSupportMessage,
  this.maximumTimeToLock,
  this.microphoneAccess,
  this.minimumApiLevel,
  this.mobileNetworksConfigDisabled,
  this.modifyAccountsDisabled,
  this.mountPhysicalMediaDisabled,
  this.name,
  this.networkEscapeHatchEnabled,
  this.networkResetDisabled,
  this.oncCertificateProviders,
  this.openNetworkConfiguration,
  this.outgoingBeamDisabled,
  this.outgoingCallsDisabled,
  this.passwordPolicies,
  this.passwordRequirements,
  this.permissionGrants,
  this.permittedAccessibilityServices,
  this.permittedInputMethods,
  this.persistentPreferredActivities,
  this.personalUsagePolicies,
  this.playStoreMode,
  this.policyEnforcementRules,
  this.preferentialNetworkService,
  this.printingPolicy,
  this.privateKeySelectionEnabled,
  this.recommendedGlobalProxy,
  this.removeUserDisabled,
  this.safeBootDisabled,
  this.screenCaptureDisabled,
  this.setUserIconDisabled,
  this.setWallpaperDisabled,
  this.setupActions,
  this.shareLocationDisabled,
  this.shortSupportMessage,
  this.skipFirstUseHintsEnabled,
  this.smsDisabled,
  this.statusBarDisabled,
  this.statusReportingSettings,
  this.stayOnPluggedModes,
  this.systemUpdate,
  this.tetheringConfigDisabled,
  this.uninstallAppsDisabled,
  this.unmuteMicrophoneDisabled,
  this.usageLog,
  this.usbFileTransferDisabled,
  this.usbMassStorageEnabled,
  this.version,
  this.vpnConfigDisabled,
  this.wifiConfigDisabled,
  this.wifiConfigsLockdownEnabled,
  this.wipeDataFlags,
  this.workAccountSetupConfig,
});