installType property

String? installType
getter/setter pair

The type of installation to perform. Possible string values are:

  • "INSTALL_TYPE_UNSPECIFIED" : Unspecified. Defaults to AVAILABLE.
  • "PREINSTALLED" : The app is automatically installed and can be removed by the user.
  • "FORCE_INSTALLED" : The app is automatically installed regardless of a set maintenance window and can't be removed by the user.
  • "BLOCKED" : The app is blocked and can't be installed. If the app was installed under a previous policy, it will be uninstalled. This also blocks its instant app functionality.
  • "AVAILABLE" : The app is available to install.
  • "REQUIRED_FOR_SETUP" : The app is automatically installed and can't be removed by the user and will prevent setup from completion until installation is complete.
  • "KIOSK" : The app is automatically installed in kiosk mode: it's set as the preferred home intent and whitelisted for lock task mode. Device setup won't complete until the app is installed. After installation, users won't be able to remove the app. You can only set this installType for one app per policy. When this is present in the policy, status bar will be automatically disabled.

Implementation

core.String? installType;