RealBeacon class

A class representing BLE beacons in the real world.

Inheritance

Constructors

RealBeacon(String id, String name, Point position, {BeaconsConfiguration configuration = const BeaconsConfiguration()})
RealBeacon.fromJson(Map<String, dynamic> json)

Properties

configuration BeaconsConfiguration
finalinherited
distanceToUser double
no setterinherited
environmentalFactor int
no setterinherited
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.
finalinherited
interval double
no setterinherited
intervalInMilliseconds double
no setterinherited
isModified bool
Checks if rssi has been changed
no setterinherited
measuredPower int
no setterinherited
name String
Name of the beacon determined by producer.
finalinherited
position Point
position is the Location of the Beacon in the world mapped to a cartesian Point system.
finalinherited
rssi double
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
no setterinherited
y double
no setterinherited

Methods

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

Operators

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