appInstallReason property

String? appInstallReason
getter/setter pair

App installation reason. Possible string values are:

  • "APPLICATION_INSTALL_REASON_UNSPECIFIED" : Application install reason is unknown.
  • "APPLICATION_INSTALL_REASON_SYSTEM" : Application installed with the system and is considered part of the OS.
  • "APPLICATION_INSTALL_REASON_POLICY" : Application installed by policy.
  • "APPLICATION_INSTALL_REASON_OEM" : Application installed by an original equipment manufacturer (OEM).
  • "APPLICATION_INSTALL_REASON_DEFAULT" : Application installed by default, but is not considered a system app.
  • "APPLICATION_INSTALL_REASON_SYNC" : Application installed by sync.
  • "APPLICATION_INSTALL_REASON_USER" : Application installed by user action.
  • "APPLICATION_INSTALL_REASON_SUB_APP" : Application installed bt SubApp API call.
  • "APPLICATION_INSTALL_REASON_KIOSK" : Application installed by Kiosk on Chrome OS.
  • "APPLICATION_INSTALL_REASON_COMMAND_LINE" : Application installed by command line argument.

Implementation

core.String? appInstallReason;