public class NoBandChannelHelper extends ChannelHelper
Modifier and Type | Class and Description |
---|---|
class |
NoBandChannelHelper.NoBandChannelCollection
ChannelCollection that merges channels without knowing which channels are in each band.
|
ChannelHelper.ChannelCollection
NO_CHANNELS, SCAN_PERIOD_PER_CHANNEL_MS
Constructor and Description |
---|
NoBandChannelHelper() |
Modifier and Type | Method and Description |
---|---|
ChannelHelper.ChannelCollection |
createChannelCollection()
Create a new collection that can be used to store channels
|
int |
estimateScanDuration(WifiScanner.ScanSettings settings)
Estimates the duration that the chip will spend scanning with the given settings
|
WifiScanner.ChannelSpec[] |
getAvailableScanChannels(int band)
Get the channels that are available for scanning on the supplied band.
|
boolean |
settingsContainChannel(WifiScanner.ScanSettings settings,
int channel)
Return true if the specified channel is expected for a scan with the given settings
|
toString, toString, updateChannels
public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel)
ChannelHelper
settingsContainChannel
in class ChannelHelper
public WifiScanner.ChannelSpec[] getAvailableScanChannels(int band)
ChannelHelper
getAvailableScanChannels
in class ChannelHelper
public int estimateScanDuration(WifiScanner.ScanSettings settings)
ChannelHelper
estimateScanDuration
in class ChannelHelper
public ChannelHelper.ChannelCollection createChannelCollection()
ChannelHelper
createChannelCollection
in class ChannelHelper