Code example for AppStateClient

Methods: disconnect

0
      gamesClient.disconnect();
      gamesClient = null;
    } 
    if(appStateClient != null)
    { 
      appStateClient.disconnect();
      appStateClient = null;
    } 
  } 
 
  public static void signIn(HaxeObject callback)
  { 
    try 
    { 
      connectionCallback = callback; 
      callback.call("initGamesClientErrors", new Object[] { 
        ConnectionResult.DEVELOPER_ERROR, 
        ConnectionResult.INTERNAL_ERROR, 
        ConnectionResult.INVALID_ACCOUNT, 
        ConnectionResult.LICENSE_CHECK_FAILED, 
Experience pair programming with AI  Get Codota for Java