Beacon class abstract

Beacon serves as a representation for a BLE-Beacon in the world.

Implementers

Constructors

Beacon({required String id, required String name, required Point position, BeaconsConfiguration configuration = const BeaconsConfiguration()})

Properties

configuration BeaconsConfiguration
final
distanceToUser double
no setter
environmentalFactor int
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
id is the UUID of the beacon. Mostly used to determine which beacon is sending the signals.
final
interval double
no setter
intervalInMilliseconds double
no setter
isModified bool
Checks if rssi has been changed
no setter
measuredPower int
no setter
name String
Name of the beacon determined by producer.
final
position Point
position is the Location of the Beacon in the world mapped to a cartesian Point system.
final
rssi double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
no setter
y double
no setter

Methods

copy() Beacon
getXYDistanceRSSI() List<double>
Similar to toString, but in List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
This method resets this class' members.
rssiUpdate(int input) → void
updated the rssi value stored in the class. RSSI stands for Received Signal Strength Indication.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited