public final class IBeaconAdvertisingDataController
extends java.lang.Object
ForceScanConfiguration.| Modifier and Type | Field and Description |
|---|---|
static int |
TX_POWER_BLOCK |
static int |
TYPE_MANUFACTURER_SPECIFIC_DATA
Specifies byte value of the type of manufacturer-specific data.
|
| Constructor and Description |
|---|
IBeaconAdvertisingDataController(IBeaconScanContext scanContext)
AdvertisingDataController handles advertising data
(
BluetoothAdapter.LeScanCallback). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
filter(IBeaconAdvertisingPacket advertisingPacket)
Filters Advertising Package with specfied
IBeaconFilters. |
IBeaconAdvertisingPacket |
getOrCreateAdvertisingPackage(android.bluetooth.BluetoothDevice device,
int rssi,
android.util.SparseArray<byte[]> parsedScan)
Creates or retrieves cached advertising package.
|
static android.util.SparseArray<byte[]> |
parseScanRecord(byte[] scanRecord)
Parses scan record sent by kontakt.io IBeacon device.
|
public static final int TYPE_MANUFACTURER_SPECIFIC_DATA
public static final int TX_POWER_BLOCK
public IBeaconAdvertisingDataController(IBeaconScanContext scanContext)
BluetoothAdapter.LeScanCallback).scanContext - the IBeacon Scan Contextpublic static android.util.SparseArray<byte[]> parseScanRecord(byte[] scanRecord)
scanRecord - the scan recordpublic IBeaconAdvertisingPacket getOrCreateAdvertisingPackage(android.bluetooth.BluetoothDevice device, int rssi, android.util.SparseArray<byte[]> parsedScan)
device - the devicerssi - the rssiparsedScan - initially parsed scan recordpublic boolean filter(IBeaconAdvertisingPacket advertisingPacket)
IBeaconFilters.advertisingPacket - the advertising package