untrustedAppsPolicy property

String? untrustedAppsPolicy
getter/setter pair

The policy for untrusted apps (apps from unknown sources) enforced on the device.

Replaces install_unknown_sources_allowed (deprecated). Possible string values are:

  • "UNTRUSTED_APPS_POLICY_UNSPECIFIED" : Unspecified. Defaults to DISALLOW_INSTALL.
  • "DISALLOW_INSTALL" : Default. Disallow untrusted app installs on entire device.
  • "ALLOW_INSTALL_IN_PERSONAL_PROFILE_ONLY" : For devices with work profiles, allow untrusted app installs in the device's personal profile only.
  • "ALLOW_INSTALL_DEVICE_WIDE" : Allow untrusted app installs on entire device.

Implementation

core.String? untrustedAppsPolicy;