MethodChannelBeaconScanner class

An implementation of BeaconScannerPlatform that uses method channels.

Inheritance

Properties

authorizationStatus Future<AuthorizationStatus>
Check for the latest AuthorizationStatus from device.
no setteroverride
bluetoothState Future<BluetoothState>
Check for the latest BluetoothState from device.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authorizationStatusChanged() Stream<AuthorizationStatus>
Start checking for location service authorization status changed.
override
bluetoothStateChanged() Stream<BluetoothState>
Start checking for bluetooth state changed.
override
checkLocationServicesIfEnabled() Future<bool>
Return true when location service is enabled, otherwise false.
override
close() Future<bool>
Close scanning API.
override
initialize() Future<bool>
Initialize scanning API.
override
initializeAndCheckScanning() Future<bool>
Initialize scanning API and check required permissions.
override
isBroadcastSupported() Future<bool>
If the device can act like a beacon (advertising BLE-Frames)
override
monitoring(List<Region> regions) Stream<MonitoringResult>
Start monitoring iBeacons with defined List of Regions.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openApplicationSettings() Future<bool>
Request to open Application Settings from device.
override
openBluetoothSettings() Future<bool>
Request to open Bluetooth Settings from device.
override
openLocationSettings() Future<bool>
Request to open Locations Settings from device.
override
ranging(List<Region> regions) Stream<ScanResult>
Start ranging iBeacons with defined List of Regions.
override
requestAuthorization() Future<bool>
Request an authorization to the device.
override
setLocationAuthorizationTypeDefault(AuthorizationStatus authorizationStatus) Future<bool>
Set the default AuthorizationStatus to use in requesting location authorization. For iOS, this can be either AuthorizationStatus.whenInUse or AuthorizationStatus.always. For Android, this is not used.
override
setScanDuration(int scanDuration) Future<bool>
Customize duration spent not scanning between each scan cycle on the Android Platform.
override
setScanPeriod(int scanPeriod) Future<bool>
Customize duration of the beacon scan on the Android Platform.
override
toString() String
A string representation of this object.
inherited

Operators

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