Quicknav
Quicknav
Design
Develop
Distribute
Links
Google Play Developer Console
Android Developers Blog
About Android
Android Sites
Android.com
Android Developers
Android Open Source Project
Language
English
Español
日本語
한국어
Русский
中文 (中国)
中文 (台灣)
close
Get Started
Style
Patterns
Building Blocks
Downloads
Videos
Training
API Guides
Reference
Tools
Get the SDK
Google Services
Google Play
Publishing
Promoting
App Quality
Spotlight
Open Distribution
Results
Loading...
Training
API Guides
Reference
Tools
Google Services
to top
Overview
Games
Location
Google+
Maps
Ads
Advertising ID
Wallet
Authorization
Google Play Services
Setup
Reference
Google Play In-app Billing
Overview
Version 3 API
Implementing the API
Reference
Version 2 API
Implementing the API
Subscriptions
Reference
Subscriptions
Security and Design
Testing In-app Billing
Administering In-app Billing
Purchase Status API
Version Notes
Google Cloud Messaging
Getting Started
Architectural Overview
Cloud Connection Server
User Notifications
GCM Client
GCM Server
Advanced Topics
Migration
Reference
Google Play Distribution
Filters on Google Play
Multiple APK Support
APK Expansion Files
Application Licensing
Licensing Overview
Setting Up for Licensing
Adding Licensing to Your App
Licensing Reference
Android Backup Service
Register
Summary:
Methods
|
Inherited Methods
|
[Expand All]
public interface
AppState
implements
Freezable
<T>
com.google.android.gms.appstate.AppState
Class Overview
Data interface for retrieving app state information.
Summary
Public Methods
abstract byte[]
getConflictData
()
abstract String
getConflictVersion
()
abstract int
getKey
()
abstract byte[]
getLocalData
()
abstract String
getLocalVersion
()
abstract boolean
hasConflict
()
[Expand]
Inherited Methods
From interface
com.google.android.gms.common.data.Freezable
abstract T
freeze
()
Freeze a volatile representation into an immutable representation.
abstract boolean
isDataValid
()
Check to see if this object is valid for use.
Public Methods
public abstract byte[]
getConflictData
()
Returns
The conflict data. Only valid if
hasConflict()
is
true
.
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.