public static interface BeaconManager.BeaconListener
Modifier and Type | Method and Description |
---|---|
void |
onChange(Beacon beacon,
Distance distance)
Called when a beacon changed is distance or rssi
|
void |
onFound(Beacon beacon)
Called when a beacon is found
|
void |
onLost(Beacon beacon)
Called when a beacon is lost
|
void |
onScanningFail(int errorCode)
Called when scanning fails, usually because of permissions or turned off bluetooth
|
void onFound(Beacon beacon)
beacon
- the Beacon
that was foundvoid onLost(Beacon beacon)
beacon
- the Beacon
that was lostvoid onChange(Beacon beacon, Distance distance)
void onScanningFail(int errorCode)
errorCode
- the ErrorCode