BeaconDevice
A beacon found by ranging, as listed in BeaconData.
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
BeaconDevice.fromJson
BeaconDevice.fromRegionAndBeacon
- Beacon beacon
Creates a BeaconDevice from a ranged Beacon.
BeaconDevice
Properties
accuracy
The estimated distance to the beacon, in meters.
major
Major value (for iBeacon).
minor
Minor value (for iBeacon).
proximity
The proximity zone of the beacon (e.g., immediate, near, far).
rssi
The RSSI signal strength to the device, in dBm.
uuid
The proximity UUID of the beacon.
Methods
toJson
toString
A string representation of this object.
Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.
Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.