Hide

AppState

public interface AppState implements Freezable<AppState>
com.google.android.gms.appstate.AppState

This interface is deprecated.
App State APIs are now deprecated. Please use Saved Games instead (https://developers.google.com/games/services/common/concepts/savedgames).

Data interface for retrieving app state information.

Public Method Summary

abstract byte[]
abstract String
abstract int
getKey()
abstract byte[]
abstract String
abstract boolean

Public Methods

public abstract byte[] getConflictData ()

Returns

public abstract String getConflictVersion ()

Returns
  • The latest known version of conflicting data from the server.

public abstract int getKey ()

Returns
  • The key associated with this app state blob.

public abstract byte[] getLocalData ()

Returns
  • The local data for this app state blob, or null if none present.

public abstract String getLocalVersion ()

Returns
  • The local version of the app state data.

public abstract boolean hasConflict ()

Returns
  • Whether or not this app state has conflict data to resolve.