AnnotatedData | Doclava
public class

AnnotatedData

extends Object
java.lang.Object
   ↳ com.google.android.gms.games.AnnotatedData<T>

Class Overview

Class to return annotated data. Currently, the only annotation is whether the data is stale or not.

Summary

Public Methods
T get()
Returns the data that is annotated by this class.
boolean isStale()
Returns true if the data returned by get() is stale.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public T get ()

Returns the data that is annotated by this class.

Returns
T

public boolean isStale ()

Returns true if the data returned by get() is stale. This usually indicates that there was a network error and data was returned from the local cache.

Returns
boolean