public class BeaconService
extends Service
implements com.android.scanner.BLEScanCallback
| Modifier and Type | Class and Description |
|---|---|
class |
BeaconService.BeaconServiceV4Binder |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MONITORED_BEACON |
static java.lang.String |
UPDATE_BEACONS |
| Constructor and Description |
|---|
BeaconService() |
| Modifier and Type | Method and Description |
|---|---|
IBinder |
onBind(Intent intent) |
void |
onCreate() |
void |
onDestroy() |
void |
onLeScan(com.android.scanner.ScanBLEResult scanBLEResult) |
void |
onScanCycleFinish() |
boolean |
onUnbind(Intent intent) |
void |
setBackgroundMode(boolean isBackgroundMode) |
void |
setBroadcastKeyMap(java.util.HashMap<java.lang.String,byte[]> broadcastKeyMap) |
public static final java.lang.String MONITORED_BEACON
public static final java.lang.String UPDATE_BEACONS
public void onCreate()
public boolean onUnbind(Intent intent)
public void onDestroy()
public IBinder onBind(Intent intent)
public void onLeScan(com.android.scanner.ScanBLEResult scanBLEResult)
onLeScan in interface com.android.scanner.BLEScanCallbackpublic void onScanCycleFinish()
onScanCycleFinish in interface com.android.scanner.BLEScanCallbackpublic void setBroadcastKeyMap(java.util.HashMap<java.lang.String,byte[]> broadcastKeyMap)
public void setBackgroundMode(boolean isBackgroundMode)