Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onScanLockSuccess is not getting called. #17

Open
GeN-1 opened this issue Oct 18, 2021 · 1 comment
Open

onScanLockSuccess is not getting called. #17

GeN-1 opened this issue Oct 18, 2021 · 1 comment

Comments

@GeN-1
Copy link

GeN-1 commented Oct 18, 2021

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();
        }
    })
@ashgautamDev
Copy link

Hey do you got any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants