Result retrieved from
AppStateManager.StateResult when app state data has been loaded successfully.
Possible status codes include:
STATUS_OKif data was successfully loaded and is up-to-date.
STATUS_NETWORK_ERROR_NO_DATAif the device was unable to communicate with the network and has no local data available.
STATUS_NETWORK_ERROR_STALE_DATAif the device was unable to retrieve the latest data from the network.
STATUS_CLIENT_RECONNECT_REQUIREDif the client needs to reconnect to the service to access this data.
STATUS_INTERNAL_ERRORif an unexpected error occurred in the service.
STATUS_STATE_KEY_NOT_FOUNDif the requested state key is not found on the server.
STATUS_STATE_KEY_LIMIT_EXCEEDEDif the application already has data present in the maximum number of state keys.
public abstract byte getLocalData ()
- The data that was loaded.
public abstract int getStateKey ()
- The state key that was loaded.