BeaconRegion
A beacon region to monitor, as listed in BeaconRangingPeriodicSamplingConfiguration.beaconRegions.
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
BeaconRegion.fromJson
BeaconRegion
Properties
identifier
A unique identifier for the beacon region. Used to distinguish between different regions being monitored.
major
The major value of the beacon region (optional). Used to further distinguish a subset of beacons within the same UUID.
minor
The minor value of the beacon region (optional). Provides a finer granularity within a group of beacons identified by the same UUID and major value.
uuid
The proximity UUID of the beacon. This is a 128-bit value used to identify a group of related beacons.
Methods
toJson
toRegion
Converts this region to a Region used by the beacon plugin.
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.