0 purchases
wifi scan windows
wifi_scan_windows #
This plugin allows Flutter apps to scan for nearby visible WiFi access points in Windows.
Windows
Support
Windows 10+
Usage #
To use this plugin, add wifi_scan_windows as a dependency in your pubspec.yaml file.
Start scan #
You can trigger full WiFi scan with performScan API, as shown below:
void _scan() async {
WifiScanWindows _wifiScanWindowsPlugin = WifiScanWindows();
// start full scan async-ly
_wifiScanWindowsPlugin.performScan((data) async {
// scan completed
}, (error) {
// scan completed with error
});
}
copied to clipboard
Get scanned results #
You can get scanned results with getAvailableNetworks API, as shown below:
NOTE: This API can also be used separately which retrieves the list of available networks on a wireless LAN interface.
void _getAvailableNetworks() async {
// get scanned results
List<AvailableNetwork>? result = await _wifiScanWindowsPlugin.getAvailableNetworks();
}
copied to clipboard
Issues and feedback #
Please file WiFiFlutter specific issues, bugs, or feature requests in our issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.