Package com.blukii.sdk.config
Class OfflineConnectionCallback
java.lang.Object
com.blukii.sdk.config.OfflineConnectionCallback
This abstract class provides callback methods needed during secure connection when connection is
established without blukii cloud (offline).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
Callback for requestBlukii.connect(ConnectionListener, OfflineConnectionCallback)
.abstract String
Callback for requestBlukii.connect(ConnectionListener, OfflineConnectionCallback)
.
-
Constructor Details
-
OfflineConnectionCallback
public OfflineConnectionCallback()
-
-
Method Details
-
onConnectionGetDeviceName
Callback for requestBlukii.connect(ConnectionListener, OfflineConnectionCallback)
.It is called during secure connection to define the blukii's device name.
Note: This is only necessary if device has Secure Beacon turned on.
Note: This is only needed for secure connection without blukii cloud. If a user is authenticated before connecting and the user is the owner of the blukii, the device name is retrieved from blukii cloud.
- Returns:
- the blukii's device name
-
onConnectionGetSecureKey
Callback for requestBlukii.connect(ConnectionListener, OfflineConnectionCallback)
.It is called during secure connection to define the blukii's secure key.
Note: This is only needed for secure connection without blukii cloud. If a user is authenticated before connecting and the user is the owner of the blukii, the secure key is retrieved from blukii cloud.
- Returns:
- the blukii's secure key
-