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

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

The newest version!






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












com.google.api.services.androidenterprise.model

Class KeyedAppState

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


    public final class KeyedAppState
    extends com.google.api.client.json.GenericJson
    Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.

    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

      • KeyedAppState

        public KeyedAppState()
    • Method Detail

      • getData

        public String getData()
        Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
        Returns:
        value or null for none
      • setData

        public KeyedAppState setData(String data)
        Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
        Parameters:
        data - data or null for none
      • getKey

        public String getKey()
        Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present.
        Returns:
        value or null for none
      • setKey

        public KeyedAppState setKey(String key)
        Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present.
        Parameters:
        key - key or null for none
      • getMessage

        public String getMessage()
        Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it.
        Returns:
        value or null for none
      • setMessage

        public KeyedAppState setMessage(String message)
        Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it.
        Parameters:
        message - message or null for none
      • getSeverity

        public String getSeverity()
        Severity of the app state. This field will always be present.
        Returns:
        value or null for none
      • setSeverity

        public KeyedAppState setSeverity(String severity)
        Severity of the app state. This field will always be present.
        Parameters:
        severity - severity or null for none
      • getStateTimestampMillis

        public Long getStateTimestampMillis()
        Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
        Returns:
        value or null for none
      • setStateTimestampMillis

        public KeyedAppState setStateTimestampMillis(Long stateTimestampMillis)
        Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
        Parameters:
        stateTimestampMillis - stateTimestampMillis or null for none
      • set

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

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