Package org.robolectric.shadows
Class ShadowWifiScanner
java.lang.Object
org.robolectric.shadows.ShadowWifiScanner
@Implements(value=android.net.wifi.WifiScanner.class,
isInAndroidSdk=false)
public class ShadowWifiScanner
extends Object
Shadow for
WifiScanner
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<ScanResult>
void
setScanResults
(List<ScanResult> scanResults) This method sets the scanResults that are immediately passed to the listeners, or returned by getSingleScanResults().
-
Field Details
-
realWifiScanner
-
-
Constructor Details
-
ShadowWifiScanner
public ShadowWifiScanner()
-
-
Method Details
-
setScanResults
This method sets the scanResults that are immediately passed to the listeners, or returned by getSingleScanResults().All registered listeners are notified immediately after this is called.
-
getSingleScanResults
-