@ProviderType
public interface BluetoothLeBeaconManager<T extends BluetoothLeBeacon>
| Modifier and Type | Method and Description |
|---|---|
void |
deleteBeaconAdvertiser(BluetoothLeBeaconAdvertiser<T> advertiser)
Delete the given advertiser.
|
void |
deleteBeaconScanner(BluetoothLeBeaconScanner<T> scanner)
Delete the given scanner.
|
BluetoothLeBeaconAdvertiser<T> |
newBeaconAdvertiser(BluetoothLeAdapter adapter,
BluetoothLeBeaconEncoder<T> encoder)
Instantiate a new advertiser for beacons.
|
BluetoothLeBeaconScanner<T> |
newBeaconScanner(BluetoothLeAdapter adapter,
BluetoothLeBeaconDecoder<T> decoder)
Instantiate a new scanner for beacons.
|
BluetoothLeBeaconScanner<T> newBeaconScanner(BluetoothLeAdapter adapter, BluetoothLeBeaconDecoder<T> decoder)
adapter - the bluetooth adapter used by the scannerdecoder - the decoder used to parse the data acquired by the scannerBluetoothLeBeaconAdvertiser<T> newBeaconAdvertiser(BluetoothLeAdapter adapter, BluetoothLeBeaconEncoder<T> encoder) throws KuraBluetoothBeaconAdvertiserNotAvailable
adapter - the bluetooth adapter used by the advertiserencoder - the encoder used to encode the data to be broadcastKuraBluetoothBeaconAdvertiserNotAvailablevoid deleteBeaconScanner(BluetoothLeBeaconScanner<T> scanner)
scanner - The scanner to be deletedvoid deleteBeaconAdvertiser(BluetoothLeBeaconAdvertiser<T> advertiser)
advertiser - The advertiser to be deleted