All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.androidenterprise.model.AutoInstallPolicy.html Maven / Gradle / Ivy

The newest version!






AutoInstallPolicy (Google Play EMM API v1-rev20241113-2.0.0)












com.google.api.services.androidenterprise.model

Class AutoInstallPolicy

    • Constructor Detail

      • AutoInstallPolicy

        public AutoInstallPolicy()
    • Method Detail

      • getAutoInstallConstraint

        public List<AutoInstallConstraint> getAutoInstallConstraint()
        The constraints for auto-installing the app. You can specify a maximum of one constraint.
        Returns:
        value or null for none
      • setAutoInstallConstraint

        public AutoInstallPolicy setAutoInstallConstraint(List<AutoInstallConstraint> autoInstallConstraint)
        The constraints for auto-installing the app. You can specify a maximum of one constraint.
        Parameters:
        autoInstallConstraint - autoInstallConstraint or null for none
      • getAutoInstallMode

        public String getAutoInstallMode()
        The auto-install mode. If unset, defaults to "doNotAutoInstall". An app is automatically installed regardless of a set maintenance window.
        Returns:
        value or null for none
      • setAutoInstallMode

        public AutoInstallPolicy setAutoInstallMode(String autoInstallMode)
        The auto-install mode. If unset, defaults to "doNotAutoInstall". An app is automatically installed regardless of a set maintenance window.
        Parameters:
        autoInstallMode - autoInstallMode or null for none
      • getAutoInstallPriority

        public Integer getAutoInstallPriority()
        The priority of the install, as an unsigned integer. A lower number means higher priority.
        Returns:
        value or null for none
      • setAutoInstallPriority

        public AutoInstallPolicy setAutoInstallPriority(Integer autoInstallPriority)
        The priority of the install, as an unsigned integer. A lower number means higher priority.
        Parameters:
        autoInstallPriority - autoInstallPriority or null for none
      • getMinimumVersionCode

        public Integer getMinimumVersionCode()
        The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.
        Returns:
        value or null for none
      • setMinimumVersionCode

        public AutoInstallPolicy setMinimumVersionCode(Integer minimumVersionCode)
        The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.
        Parameters:
        minimumVersionCode - minimumVersionCode or null for none
      • clone

        public AutoInstallPolicy clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy