public class ScanSettings extends Object implements Parcelable
WifiManager#startCustomizedScan
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
Collection<WifiChannel> |
channelSet
channel set to scan. this can be null or empty, indicating a full scan
|
static Parcelable.Creator<ScanSettings> |
CREATOR
implement Parcelable interface
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ScanSettings()
public constructor
|
ScanSettings(ScanSettings source)
copy constructor
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
implement Parcelable interface
|
boolean |
isValid()
check for validity
|
void |
writeToParcel(Parcel out,
int flags)
implement Parcelable interface
|
public Collection<WifiChannel> channelSet
public static final Parcelable.Creator<ScanSettings> CREATOR
public ScanSettings()
public ScanSettings(ScanSettings source)
public boolean isValid()
public int describeContents()
describeContents
in interface Parcelable
Parcelable.CONTENTS_FILE_DESCRIPTOR
public void writeToParcel(Parcel out, int flags)
writeToParcel
in interface Parcelable
out
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.