Code example for AppStateClient

Methods: isConnectedloadState

0
 
  public static void loadState(int stateKey)
  { 
    try 
    { 
      if(appStateClient != null && appStateClient.isConnected())
      { 
        appStateClient.loadState(new GooglePlayCallback("APP_STATE_CLIENT"),
            stateKey);
 
        Log.i("trace", "Loading state: " + stateKey);
      } 
    } 
    catch(Exception e)
    { 
      handleException(e, "loadState");
    } 
  } 
 
  public static void updateState(int stateKey, String data)