Closed outhui closed 5 years ago
EMClient.getInstance().logout(true, new EMCallBack() {
@Override public void onSuccess() { Log.e("111","退出成功"); runOnUiThread(new Runnable() { @Override public void run() { String currentUser = EMClient.getInstance().getCurrentUser(); Log.e("222","currentUser:"+ currentUser); } }); } @Override public void onProgress(int progress, String status) { } @Override public void onError(int code, String message) { LogUtils.e("退出失败"); } });
已经修复,会包含在3.5.3版本中。
EMClient.getInstance().logout(true, new EMCallBack() {