Policy constructor
Policy({
- List<
String> ? accountTypesWithManagementDisabled, - bool? addUserDisabled,
- bool? adjustVolumeDisabled,
- AdvancedSecurityOverrides? advancedSecurityOverrides,
- AlwaysOnVpnPackage? alwaysOnVpnPackage,
- List<
String> ? androidDevicePolicyTracks, - String? appAutoUpdatePolicy,
- List<
ApplicationPolicy> ? applications, - String? autoDateAndTimeZone,
- bool? autoTimeRequired,
- bool? blockApplicationsEnabled,
- bool? bluetoothConfigDisabled,
- bool? bluetoothContactSharingDisabled,
- bool? bluetoothDisabled,
- String? cameraAccess,
- bool? cameraDisabled,
- bool? cellBroadcastsConfigDisabled,
- List<
ChoosePrivateKeyRule> ? choosePrivateKeyRules, - List<
ComplianceRule> ? complianceRules, - bool? createWindowsDisabled,
- String? credentialProviderPolicyDefault,
- bool? credentialsConfigDisabled,
- CrossProfilePolicies? crossProfilePolicies,
- bool? dataRoamingDisabled,
- bool? debuggingFeaturesAllowed,
- String? defaultPermissionPolicy,
- DeviceConnectivityManagement? deviceConnectivityManagement,
- UserFacingMessage? deviceOwnerLockScreenInfo,
- DeviceRadioState? deviceRadioState,
- String? encryptionPolicy,
- bool? ensureVerifyAppsEnabled,
- bool? factoryResetDisabled,
- List<
String> ? frpAdminEmails, - bool? funDisabled,
- bool? installAppsDisabled,
- bool? installUnknownSourcesAllowed,
- bool? keyguardDisabled,
- List<
String> ? keyguardDisabledFeatures, - bool? kioskCustomLauncherEnabled,
- KioskCustomization? kioskCustomization,
- String? locationMode,
- UserFacingMessage? longSupportMessage,
- String? maximumTimeToLock,
- String? microphoneAccess,
- int? minimumApiLevel,
- bool? mobileNetworksConfigDisabled,
- bool? modifyAccountsDisabled,
- bool? mountPhysicalMediaDisabled,
- String? name,
- bool? networkEscapeHatchEnabled,
- bool? networkResetDisabled,
- List<
OncCertificateProvider> ? oncCertificateProviders, - Map<
String, Object?> ? openNetworkConfiguration, - bool? outgoingBeamDisabled,
- bool? outgoingCallsDisabled,
- List<
PasswordRequirements> ? passwordPolicies, - PasswordRequirements? passwordRequirements,
- List<
PermissionGrant> ? permissionGrants, - PackageNameList? permittedAccessibilityServices,
- PackageNameList? permittedInputMethods,
- List<
PersistentPreferredActivity> ? persistentPreferredActivities, - PersonalUsagePolicies? personalUsagePolicies,
- String? playStoreMode,
- List<
PolicyEnforcementRule> ? policyEnforcementRules, - String? preferentialNetworkService,
- String? printingPolicy,
- bool? privateKeySelectionEnabled,
- ProxyInfo? recommendedGlobalProxy,
- bool? removeUserDisabled,
- bool? safeBootDisabled,
- bool? screenCaptureDisabled,
- bool? setUserIconDisabled,
- bool? setWallpaperDisabled,
- List<
SetupAction> ? setupActions, - UserFacingMessage? shortSupportMessage,
- bool? skipFirstUseHintsEnabled,
- bool? smsDisabled,
- bool? statusBarDisabled,
- StatusReportingSettings? statusReportingSettings,
- List<
String> ? stayOnPluggedModes, - SystemUpdate? systemUpdate,
- bool? tetheringConfigDisabled,
- bool? uninstallAppsDisabled,
- bool? unmuteMicrophoneDisabled,
- UsageLog? usageLog,
- bool? usbFileTransferDisabled,
- bool? usbMassStorageEnabled,
- String? version,
- bool? vpnConfigDisabled,
- bool? wifiConfigDisabled,
- bool? wifiConfigsLockdownEnabled,
Implementation
Policy({
this.accountTypesWithManagementDisabled,
this.addUserDisabled,
this.adjustVolumeDisabled,
this.advancedSecurityOverrides,
this.alwaysOnVpnPackage,
this.androidDevicePolicyTracks,
this.appAutoUpdatePolicy,
this.applications,
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.defaultPermissionPolicy,
this.deviceConnectivityManagement,
this.deviceOwnerLockScreenInfo,
this.deviceRadioState,
this.encryptionPolicy,
this.ensureVerifyAppsEnabled,
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,
});