public static interface BeaconConnection.ConnectionCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationError(EstimoteDeviceException exception)
Invoked when there was a problem with connecting to beacon (authorization failed or Bluetooth
connection failed).
|
void |
onAuthorized(BeaconInfo beaconInfo)
Invoked when Estimote Cloud authorized access to the beacon.
|
void |
onConnected(BeaconInfo beaconInfo)
Invoked when connection to beacon is established and access is granted.
|
void |
onDisconnected()
Connection was closed to the beacon.
|
void onAuthorized(BeaconInfo beaconInfo)
onConnected(BeaconInfo).beaconInfo - Beacon's information stored in Estimote Cloud.void onConnected(BeaconInfo beaconInfo)
beaconInfo - Beacon's information stored in Estimote Cloud (same as in onAuthorized(BeaconInfo)).void onAuthenticationError(EstimoteDeviceException exception)
exception - Exception that occurred.void onDisconnected()