Added in API level 30
WifiManager.ScanResultsCallback
public
static
abstract
class
WifiManager.ScanResultsCallback
extends Object
java.lang.Object | |
↳ | android.net.wifi.WifiManager.ScanResultsCallback |
Abstract class for scan results callback. Should be extended by applications and set when
calling WifiManager.registerScanResultsCallback(Executor, ScanResultsCallback)
.
Summary
Public constructors | |
---|---|
ScanResultsCallback()
|
Public methods | |
---|---|
abstract
void
|
onScanResultsAvailable()
Called when new scan results are available. |
Inherited methods | |
---|---|
Public constructors
Public methods
onScanResultsAvailable
Added in API level 30
public abstract void onScanResultsAvailable ()
Called when new scan results are available.
Clients should use WifiManager.getScanResults()
to get the scan results.