public interface WiFiScanCallback
Callback for
WiFi.scan(...). Invoked once on the EDT.Methods
public abstract void onScanComplete(WiFiNetwork[] networks, Throwable error) | Called when the scan completes (successfully or not). |
Method details
onScanComplete
public abstract void onScanComplete(WiFiNetwork[] networks, Throwable error)Called when the scan completes (successfully or not).
networks is
sorted by signal strength, strongest first. On failure networks is
null and error holds the cause.