public interface SyncableKontaktDeviceConnection
KontaktDeviceConnection
and KontaktCloud
functionality.
The syncable connection allows for immediate pushes to both Bluetooth and its representation in Kontakt.io Web API.Modifier and Type | Method and Description |
---|---|
void |
applySecureConfig(Config secureConfig,
com.kontakt.sdk.android.ble.connection.SyncableKontaktDeviceConnectionImpl.SyncWriteListener syncWriteListener)
Writes secure config and tries to sync with REST API
|
void |
close()
Closes Beacon connection releases provided resources.
|
boolean |
connectToDevice()
Connects to beacon device
|
RemoteBluetoothDevice |
getDevice()
Gets devices that the connection is established with.
|
boolean |
isConnectedToDevice()
Returns true if Connection with Beacon is established.
|
boolean |
isDeviceAuthenticated()
Returns true if Beacon was successfully authenticated.
|
boolean connectToDevice()
boolean isConnectedToDevice()
void close()
RemoteBluetoothDevice getDevice()
boolean isDeviceAuthenticated()
void applySecureConfig(Config secureConfig, com.kontakt.sdk.android.ble.connection.SyncableKontaktDeviceConnectionImpl.SyncWriteListener syncWriteListener)
secureConfig
- the secureConfigsyncWriteListener
- SyncableKontaktDeviceConnectionImpl.SyncWriteListener