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

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

The newest version!






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












com.google.api.services.androidenterprise.model

Class WebApp

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class WebApp
    extends com.google.api.client.json.GenericJson
    A WebApps resource represents a web app created for an enterprise. Web apps are published to managed Google Play and can be distributed like other Android apps. On a user's device, a web app opens its specified URL.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play EMM API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • WebApp

        public WebApp()
    • Method Detail

      • getDisplayMode

        public String getDisplayMode()
        The display mode of the web app. Possible values include: - "minimalUi", the device's status bar, navigation bar, the app's URL, and a refresh button are visible when the app is open. For HTTP URLs, you can only select this option. - "standalone", the device's status bar and navigation bar are visible when the app is open. - "fullScreen", the app opens in full screen mode, hiding the device's status and navigation bars. All browser UI elements, page URL, system status bar and back button are not visible, and the web app takes up the entirety of the available display area.
        Returns:
        value or null for none
      • setDisplayMode

        public WebApp setDisplayMode(String displayMode)
        The display mode of the web app. Possible values include: - "minimalUi", the device's status bar, navigation bar, the app's URL, and a refresh button are visible when the app is open. For HTTP URLs, you can only select this option. - "standalone", the device's status bar and navigation bar are visible when the app is open. - "fullScreen", the app opens in full screen mode, hiding the device's status and navigation bars. All browser UI elements, page URL, system status bar and back button are not visible, and the web app takes up the entirety of the available display area.
        Parameters:
        displayMode - displayMode or null for none
      • getIcons

        public List<WebAppIcon> getIcons()
        A list of icons representing this website. If absent, a default icon (for create) or the current icon (for update) will be used.
        Returns:
        value or null for none
      • setIcons

        public WebApp setIcons(List<WebAppIcon> icons)
        A list of icons representing this website. If absent, a default icon (for create) or the current icon (for update) will be used.
        Parameters:
        icons - icons or null for none
      • getIsPublished

        public Boolean getIsPublished()
        A flag whether the app has been published to the Play store yet.
        Returns:
        value or null for none
      • setIsPublished

        public WebApp setIsPublished(Boolean isPublished)
        A flag whether the app has been published to the Play store yet.
        Parameters:
        isPublished - isPublished or null for none
      • getStartUrl

        public String getStartUrl()
        The start URL, i.e. the URL that should load when the user opens the application.
        Returns:
        value or null for none
      • setStartUrl

        public WebApp setStartUrl(String startUrl)
        The start URL, i.e. the URL that should load when the user opens the application.
        Parameters:
        startUrl - startUrl or null for none
      • getTitle

        public String getTitle()
        The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon).
        Returns:
        value or null for none
      • setTitle

        public WebApp setTitle(String title)
        The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon).
        Parameters:
        title - title or null for none
      • getVersionCode

        public Long getVersionCode()
        The current version of the app. Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to- date.
        Returns:
        value or null for none
      • setVersionCode

        public WebApp setVersionCode(Long versionCode)
        The current version of the app. Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to- date.
        Parameters:
        versionCode - versionCode or null for none
      • getWebAppId

        public String getWebAppId()
        The ID of the application. A string of the form "app:" where the package name always starts with the prefix "com.google.enterprise.webapp." followed by a random id.
        Returns:
        value or null for none
      • setWebAppId

        public WebApp setWebAppId(String webAppId)
        The ID of the application. A string of the form "app:" where the package name always starts with the prefix "com.google.enterprise.webapp." followed by a random id.
        Parameters:
        webAppId - webAppId or null for none
      • set

        public WebApp set(String fieldName,
                          Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public WebApp 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