FlutterBeacon class
Provide iBeacon scanning API for both Android and iOS.
Properties
-
Check for the latest
AuthorizationStatus
from device.no setter -
bluetoothState
→ Future<
BluetoothState> -
Check for the latest
BluetoothState
from device.no setter -
checkLocationServicesIfEnabled
→ Future<
bool> -
Return
true
when location service is enabled, otherwisefalse
.no setter -
close
→ Future<
bool> -
Close scanning API.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
initializeAndCheckScanning
→ Future<
bool> -
Initialize scanning API and check required permissions.
no setter
-
initializeScanning
→ Future<
bool> -
Initialize scanning API.
no setter
-
openApplicationSettings
→ Future<
bool> -
Request to open Application Settings from device.
no setter
-
openBluetoothSettings
→ Future<
bool> -
Request to open Bluetooth Settings from device.
no setter
-
openLocationSettings
→ Future<
bool> -
Request to open Locations Settings from device.
no setter
-
requestAuthorization
→ Future<
bool> -
Request an authorization to the device.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
- Start checking for location service authorization status changed.
-
bluetoothStateChanged(
) → Stream< BluetoothState> - Start checking for bluetooth state changed.
-
isBroadcasting(
) → Future< bool> -
isBroadcastSupported(
) → Future< bool> -
monitoring(
List< Region> regions) → Stream<MonitoringResult> - Start monitoring iBeacons with defined List of Regions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ranging(
List< Region> regions) → Stream<RangingResult> - Start ranging iBeacons with defined List of Regions.
-
setBetweenScanPeriod(
int scanPeriod) → Future< bool> - Customize duration spent not scanning between each scan cycle on the Android Platform.
-
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.
-
setScanPeriod(
int scanPeriod) → Future< bool> - Customize duration of the beacon scan on the Android Platform.
-
startBroadcast(
BeaconBroadcast params) → Future< void> -
stopBroadcast(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited