WiFiScan class

The wifi_scan plugin entry point.

To get a new instance, call WiFiScan.instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
onScannedResultsAvailable Stream<List<WiFiAccessPoint>>
Fires whenever new scanned results are available.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canGetScannedResults({bool askPermissions = true}) Future<CanGetScannedResults>
Checks if it is ok to invoke getScannedResults or onScannedResultsAvailable.
canStartScan({bool askPermissions = true}) Future<CanStartScan>
Checks if it is ok to invoke startScan.
getScannedResults() Future<List<WiFiAccessPoint>>
Get scanned access point.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startScan() Future<bool>
Request a Wi-Fi scan.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance WiFiScan
Singleton instance of WiFiScan.
final