FlutterBeacon class

Provide iBeacon scanning API for both Android and iOS.

Properties

authorizationStatus → Future<AuthorizationStatus>
Check for the latest AuthorizationStatus from device. [...]
read-only
bluetoothState → Future<BluetoothState>
Check for the latest BluetoothState from device.
read-only
checkLocationServicesIfEnabled → Future<bool>
Return true when location service is enabled, otherwise false.
read-only
close → Future<bool>
Close scanning API.
read-only
initializeAndCheckScanning → Future<bool>
Initialize scanning API and check required permissions. [...]
read-only
initializeScanning → Future<bool>
Initialize scanning API.
read-only
openApplicationSettings → Future<bool>
Request to open Application Settings from device. [...]
read-only
openBluetoothSettings → Future<bool>
Request to open Bluetooth Settings from device. [...]
read-only
openLocationSettings → Future<bool>
Request to open Locations Settings from device. [...]
read-only
requestAuthorization → Future<bool>
Request an authorization to the device. [...]
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

authorizationStatusChanged() → Stream<AuthorizationStatus>
Start checking for location service authorization status changed. This stream only enabled on iOS only. [...]
bluetoothStateChanged() → Stream<BluetoothState>
Start checking for bluetooth state changed. [...]
monitoring(List<Region> regions) → Stream<MonitoringResult>
Start monitoring iBeacons with defined List of Regions. [...]
ranging(List<Region> regions) → Stream<RangingResult>
Start ranging iBeacons with defined List of Regions. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited