Interface WiFiScanCallback
public interface WiFiScanCallback
Callback for
WiFi.scan(...). Invoked once on the EDT.-
Method Summary
Modifier and TypeMethodDescriptionvoidonScanComplete(WiFiNetwork[] networks, Throwable error) Called when the scan completes (successfully or not).
-
Method Details
-
onScanComplete
Called when the scan completes (successfully or not).networksis sorted by signal strength, strongest first. On failurenetworksisnullanderrorholds the cause.
-