Methods
| Method |
Description |
|
org.altbeacon.beacon.toUuidString()
|
Returns the value of this Identifier in UUID format. |
|
org.altbeacon.beacon.clone()
|
Returns a clone of this instance. |
|
org.altbeacon.beacon.setDistanceCalculator(DistanceCalculator)
|
|
|
org.altbeacon.beacon.getDistanceCalculator()
|
|
|
org.altbeacon.beacon.setHardwareEqualityEnforced(boolean)
|
|
|
org.altbeacon.beacon.getHardwareEqualityEnforced()
|
|
|
org.altbeacon.beacon.getRunningAverageRssi(double)
|
|
|
org.altbeacon.beacon.describeContents()
|
Required for making object Parcelable |
|
org.altbeacon.beacon.writeToParcel(Parcel,int)
|
Required for making object Parcelable. |
|
org.altbeacon.beacon.setDistanceModelUpdateUrl(String)
|
|
|
org.altbeacon.beacon.bind(BeaconConsumer)
|
Binds an Android Activity or Service to the BeaconService. |
|
org.altbeacon.beacon.unbind(BeaconConsumer)
|
Unbinds an Android Activity or Service to the BeaconService. |
|
org.altbeacon.beacon.isBound(BeaconConsumer)
|
Tells you if the passed beacon consumer is bound to the service |
|
org.altbeacon.beacon.setBackgroundMode(boolean)
|
This method notifies the beacon service that the application is either moving to backgroundmode or foreground mode. |
|
org.altbeacon.beacon.setRangeNotifier(RangeNotifier)
|
Specifies a class that should be called each time the BeaconService gets rangingdata, which is nominally once per second when beacons are detected. |
|
org.altbeacon.beacon.setMonitorNotifier(MonitorNotifier)
|
Specifies a class that should be called each time the BeaconService seesor stops seeing a Region of beacons. |
|
org.altbeacon.beacon.removeMonitoreNotifier(MonitorNotifier)
|
|
|
org.altbeacon.beacon.setRegionStatePeristenceEnabled(boolean)
|
|
|
org.altbeacon.beacon.startRangingBeaconsInRegion(Region)
|
Tells the BeaconService to start looking for beacons that match the passedRegion object, and providing updates on the estimated mDistance every seconds whilebeacons in the Region are visible. |
|
org.altbeacon.beacon.stopRangingBeaconsInRegion(Region)
|
Tells the BeaconService to stop looking for beacons that match the passedRegion object and providing mDistance information for them. |
|
org.altbeacon.beacon.startMonitoringBeaconsInRegion(Region)
|
Tells the BeaconService to start looking for beacons that match the passedRegion object. |
|
org.altbeacon.beacon.stopMonitoringBeaconsInRegion(Region)
|
Tells the library to stop looking for beacons that match the passedRegion object. |
|
org.altbeacon.beacon.getMonitoringNotifier()
|
|
|
org.altbeacon.beacon.getRangingNotifier()
|
|
|
org.altbeacon.beacon.logDebug(String,String)
|
Convenience method for logging debug by the library |
|
org.altbeacon.beacon.logDebug(String,String,Throwable)
|
Convenience method for logging debug by the library |
|
org.altbeacon.beacon.setAndroidLScanningDisabled(boolean)
|
Allows disabling use of Android L BLE Scanning APIs on devices with API 21+If set to false (default), devices with API 21+ will use the Android L APIs toscan for beacons |
|
org.altbeacon.beacon.setsManifestCheckingDisabled(boolean)
|
Deprecated misspelled method |
|
org.altbeacon.beacon.fromScanData(Array,int,BluetoothDevice)
|
Construct a Beacon from a Bluetooth LE packet collected by Android's Bluetooth APIs,including the raw Bluetooth device info.timestampMs excluded for backward compatibility with older api consumers. |
|
org.altbeacon.beacon.setDistanceCalculator(DistanceCalculator)
|
|
|
org.altbeacon.beacon.getDistanceCalculator()
|
|
|
org.altbeacon.beacon.setHardwareEqualityEnforced(boolean)
|
|
|
org.altbeacon.beacon.getHardwareEqualityEnforced()
|
|
|
org.altbeacon.beacon.getRunningAverageRssi(double)
|
|
|
org.altbeacon.beacon.fromScanData(Array,int,BluetoothDevice)
|
Construct an AltBeacon from a Bluetooth LE packet collected by Android's Bluetooth APIs,including the raw Bluetooth device infotimestampMs excluded for backward compatibility with older api consumers. |
|
org.altbeacon.beacon.clone()
|
|
|
org.altbeacon.bluetooth.enablePowerCycleOnFailures(Context)
|
If set to true, bluetooth will be power cycled on any tests run that determine bluetooth isin a bad state. |
|
org.altbeacon.bluetooth.enableDebug()
|
Enable debug logging. |
|
org.altbeacon.bluetooth.disableDebug()
|
Disable debug logging. |
|
kotlin.collections.toArray(IntFunction)
|
|