-
Methods Method Description org.altbeacon.bluetooth.enableDebug() Enable debug logging. org.altbeacon.bluetooth.disableDebug() Disable debug logging. 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.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.bind(BeaconConsumer) Binds an Android Activity
orService
to theBeaconService
.org.altbeacon.beacon.unbind(BeaconConsumer) Unbinds an Android Activity
orService
to theBeaconService
.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 background mode or foreground mode. org.altbeacon.beacon.setRangeNotifier(RangeNotifier) Specifies a class that should be called each time the BeaconService
gets ranging data, 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
sees or 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 while beacons 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 passed Region
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.setsManifestCheckingDisabled(boolean) Deprecated misspelled method org.altbeacon.beacon.getRunningAverageRssi(double)
-
Classes Class Description org.altbeacon.beacon.powersave.BackgroundPowerSaver Simply creating an instance of this class and holding a reference to it in your Application can improve battery life by 60% by slowing down scans when your app is in the background. org.altbeacon.beacon.startup.RegionBootstrap Class allowing a user to set up background launching of an app when a user enters a beacon Region.
-
Constructors Constructor Description org.altbeacon.beacon.Identifier(Identifier) Creates a new copy of the specified Identifier. org.altbeacon.beacon.powersave.BackgroundPowerSaver(Context,boolean)
-
Interfaces Interface Description org.altbeacon.beacon.BeaconConsumer An interface for an Android Activity
orService
that wants to interact with beacons.org.altbeacon.beacon.startup.BootstrapNotifier