Stay organized with collections
Save and categorize content based on your preferences.
Contains classes for accessing data from Google Play services.
Interfaces
DataBuffer
|
Interface for a buffer of typed data.
|
DataBufferObserver
|
An interface for notifying an observer about changes to a DataBuffer.
|
DataBufferObserver.Observable
|
Interface a data buffer can implement to expose the fact that it supports observation.
|
Freezable
|
Interface for data objects that support being frozen into immutable representations.
|
Classes
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ecom.google.android.gms.common.data\u003c/code\u003e package provides classes for accessing data from Google Play services.\u003c/p\u003e\n"],["\u003cp\u003eIt includes interfaces like \u003ccode\u003eDataBuffer\u003c/code\u003e for handling typed data, \u003ccode\u003eDataBufferObserver\u003c/code\u003e for observing data changes, and \u003ccode\u003eFreezable\u003c/code\u003e for creating immutable data representations.\u003c/p\u003e\n"],["\u003cp\u003eThe package offers classes such as \u003ccode\u003eAbstractDataBuffer\u003c/code\u003e, \u003ccode\u003eDataBufferObserverSet\u003c/code\u003e, \u003ccode\u003eDataBufferUtils\u003c/code\u003e, and \u003ccode\u003eFreezableUtils\u003c/code\u003e to facilitate data management and manipulation.\u003c/p\u003e\n"]]],["This package provides classes and interfaces for accessing and managing data from Google Play services. Key components include `DataBuffer`, an interface for typed data buffers, and `Freezable`, enabling immutable data representations. `DataBufferObserver` notifies of changes to data buffers. `AbstractDataBuffer` is a default `DataBuffer` implementation. `DataBufferObserverSet` manages observers, and `DataBufferUtils` and `FreezableUtils` offer utilities for their respective interfaces. They are designed to facilitate observation and manipulation of data.\n"],null,["# com.google.android.gms.common.data\n==================================\n\n[Kotlin](/android/reference/kotlin/com/google/android/gms/common/data/package-summary \"View this page in Kotlin\") \\|Java \n\nContains classes for accessing data from Google Play services.\n\nInterfaces\n----------\n\n|----------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|\n| [DataBuffer](/android/reference/com/google/android/gms/common/data/DataBuffer) | Interface for a buffer of typed data. |\n| [DataBufferObserver](/android/reference/com/google/android/gms/common/data/DataBufferObserver) | An interface for notifying an observer about changes to a DataBuffer. |\n| [DataBufferObserver.Observable](/android/reference/com/google/android/gms/common/data/DataBufferObserver.Observable) | Interface a data buffer can implement to expose the fact that it supports observation. |\n| [Freezable](/android/reference/com/google/android/gms/common/data/Freezable) | Interface for data objects that support being frozen into immutable representations. |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [AbstractDataBuffer](/android/reference/com/google/android/gms/common/data/AbstractDataBuffer) | Default implementation of DataBuffer. |\n| [DataBufferObserverSet](/android/reference/com/google/android/gms/common/data/DataBufferObserverSet) | Utility class for managing a set of observers and distributing their notifications. |\n| [DataBufferUtils](/android/reference/com/google/android/gms/common/data/DataBufferUtils) | Utilities for working with `DataBuffer` objects. |\n| [FreezableUtils](/android/reference/com/google/android/gms/common/data/FreezableUtils) | Utilities for working with [Freezable](/android/reference/com/google/android/gms/common/data/Freezable) objects. |"]]