Android library scanning BLE beacons nearby with RxJava
reactivebeacons-rx2
artifactreactivebeacons
artifactreactivebeacons-rx2
artifactreactivebeacons
artifactObservable<Beacon> observe()
methodPreLollipopScanStrategy
class, LollipopScanStrategy
class and ScanStrategy
interfaceScanCallbackAdapter
class used in LollipopScanStrategy
Observable<Beacon> observe(ScanStrategy scanStrategy)
method to library API, which allows to use one of the existing scan strategies or custom scan strategyREAMDE.md
1.1.2
1.0.1-1
Schedulers.io()
in subscribeOn(...)
to Schedulers.computation()
in sample appsMacAddress
class with MAC address validationmacAddress
field to Beacon
classexceptName(final String... names)
method to Filter
classexceptMacAddress(final String... macs)
method to Filter
classhasMacAddress(final MacAddress... macs)
method to Filter
classexceptMacAddress(final MacAddress... macs)
method to Filter
classBluetoothManager
inside isBleSupported()
to avoid NoClassDefFound
error occurring while instantiating ReactiveBeacons
object on devices running API < 18 - fixed in PR #30.README.md
distinct()
operator with distinctUntilChanged()
operator in Observable<Beacon> observe()
method in ReactiveBeacons
class.ACCESS_FINE_LOCATION
and ACCESS_COARSE_LOCATION
to satisfy requirements of Android 6void requestBluetoothAccessIfDisabled(activity)
method to void requestBluetoothAccess(activity)
boolean isBluetoothEnabled()
methodboolean isLocationEnabled(context)
methodvoid requestLocationAccess(activity)
methodAccessRequester
classisBleSupported()
method to the public APIREADME.md
file