public class SyncBeaconScanClient
extends java.lang.Object
| Constructor and Description |
|---|
SyncBeaconScanClient(android.content.Context context)
Constructor.
|
SyncBeaconScanClient(android.content.Context context,
java.util.List<Beacon> beacons)
Constructor.
|
SyncBeaconScanClient(android.content.Context context,
java.util.List<Beacon> beacons,
int scanTime,
int minNumOfBeacons,
java.util.concurrent.Semaphore bdLock)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setScanTime(int scanTime)
Set the amount of time for which the client will scan
|
java.util.concurrent.Future<java.util.List<Beacon>> |
startScan()
Startes the beacons scan
|
public SyncBeaconScanClient(android.content.Context context)
context - Constext under which the client is being usedpublic SyncBeaconScanClient(android.content.Context context,
java.util.List<Beacon> beacons)
context - Constext under which the client is being usedbeacons - The collection where the beacons will be placedpublic SyncBeaconScanClient(android.content.Context context,
java.util.List<Beacon> beacons,
int scanTime,
int minNumOfBeacons,
java.util.concurrent.Semaphore bdLock)
context - Constext under which the client is being usedbeacons - The collection where the beacons will be placedscanTime - Time in ms that the client will scanpublic void setScanTime(int scanTime)
scanTime - new scan time for the clientpublic java.util.concurrent.Future<java.util.List<Beacon>> startScan()