question

mybmr avatar image
mybmr asked mybmr edited

Can't find goSdk.connectBluetoothReader(readerInfo) method ?

Greeting of the day,

I'm implementing clover GOSdk as per below documentation.

https://docs.clover.com/docs/android-clover-go-sdk-quick-start


But once implemented below code

goSdk.scanForReaders(activity, new GoSdkCallback<ReaderInfo>() {
        @Override
        public void onNext(ReaderInfo readerInfo) {
            //This callback will hit for every device found
            //Once you find the device you want to connect to, call the line below
            goSdk.connectBluetoothReader(readerInfo);
        }
        @Override
        public void onError(@NonNull Throwable throwable) {
            //Handle error
        }
    });

Error :-

 Cannot resolve method 'connectBluetoothReader' in 'GoSdk'


Is above method is deprecated from sdk ? Can you let me know replacement method ?

Clover Android SDK
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community