Android_SDK_Demo icon indicating copy to clipboard operation
Android_SDK_Demo copied to clipboard

onScanLockSuccess is not getting called.

Open GeN-1 opened this issue 4 years ago • 1 comments

Followed all the steps but following method is not getting called.....

Testing on Android version 10....

TTLockClient.getDefault().startScanLock(new ScanLockCallback() { @Override public void onScanLockSuccess(ExtendedBluetoothDevice device) { if(mListApapter != null){ mListApapter.updateData(device); } }

        @Override
        public void onFail(LockError error) {

            Log.d("TTSCANDLE","FAILED");
            Toast.makeText(ScanLockActivity.this,"FAILED ON BLUETOOTH", Toast.LENGTH_LONG).show();
            Toast.makeText(ScanLockActivity.this,"FAILED ON BLUETOOTH", Toast.LENGTH_LONG).show();
        }
    })

GeN-1 avatar Oct 18 '21 13:10 GeN-1

Hey do you got any solution?

ashgautamDev avatar May 03 '24 09:05 ashgautamDev