BeaconPlugin class

A plugin for managing beacon scanning and state in a Flutter application. This plugin provides methods to start and stop scanning for beacons, check Bluetooth permissions, and receive beacon data through streams.

Constructors

BeaconPlugin()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

beaconStateController StreamController<BeaconState>
final

Static Methods

receiveBeacons() Stream<List<Beacon>>
Starts scanning for beacons and listens for beacon data.
startScan() → dynamic
stopScan() → dynamic
Stops scanning for beacons and resets the beacon state.