public static class WifiScanner.ScanData extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<WifiScanner.ScanData> |
CREATOR
Implement the Parcelable interface
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ScanData(int id,
int flags,
int bucketsScanned,
boolean allChannelsScanned,
ScanResult[] results) |
ScanData(int id,
int flags,
ScanResult[] results) |
ScanData(WifiScanner.ScanData s) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Implement the Parcelable interface
|
int |
getBucketsScanned() |
int |
getFlags() |
int |
getId() |
ScanResult[] |
getResults() |
boolean |
isAllChannelsScanned() |
void |
writeToParcel(Parcel dest,
int flags)
Implement the Parcelable interface
|
public static final Parcelable.Creator<WifiScanner.ScanData> CREATOR
public ScanData(int id, int flags, ScanResult[] results)
public ScanData(int id, int flags, int bucketsScanned, boolean allChannelsScanned, ScanResult[] results)
public ScanData(WifiScanner.ScanData s)
public int getId()
public int getFlags()
public int getBucketsScanned()
public boolean isAllChannelsScanned()
public ScanResult[] getResults()
public int describeContents()
describeContents
in interface Parcelable
Parcelable.CONTENTS_FILE_DESCRIPTOR
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
dest
- 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
.