Interface PairingDeviceConfiguration
- All Known Implementing Classes:
WebSocketCloverDeviceConfiguration
public interface PairingDeviceConfiguration
Defines the callback interface for the pairing process
-
Method Summary
Modifier and TypeMethodDescriptionvoidonPairingCode(String pairingCode) Called when a pairing code needs to be entered on the devicevoidonPairingSuccess(String authToken) Called when the pairing to the device has completed
-
Method Details
-
onPairingCode
Called when a pairing code needs to be entered on the device- Parameters:
pairingCode- code to enter
-
onPairingSuccess
Called when the pairing to the device has completed- Parameters:
authToken- a pairing token which may be provided when reconnecting to the device to bypass the manual pairing step
-