LogType ALL - all the operation record from lock is initialized. LogType.NEW - only the new added operation record from last time you get log.
xxxxxxxxxxTTLockClient.getDefault().getOperationLog(LogType.NEW, mCurrentLock.getLockData(),mCurrentLock.getLockMac(), new GetOperationLogCallback() { @Override public void onGetLogSuccess(String log) { makeToast("Get log success!"); Log.d("OMG","===log==" + log); } @Override public void onFail(LockError error) { makeErrorToast(error); }});