public static void setTime(long time) { check(); prefs.putLong(Consts.PREF_TIME, time); save(); }
protected void storeNewToken(GDXFacebookAccessToken token) { Gdx.app.debug(GDXFacebookVars.LOG_TAG, "Storing new accessToken: " + token.getToken()); preferences.putString("access_token", token.getToken()); preferences.putLong("expires_at", token.getExpiresAt()); preferences.flush(); }