public static class WifiScanner.ParcelableScanData extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<WifiScanner.ParcelableScanData> |
CREATOR
Implement the Parcelable interface
|
WifiScanner.ScanData[] |
mResults |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ParcelableScanData(WifiScanner.ScanData[] results) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Implement the Parcelable interface
|
WifiScanner.ScanData[] |
getResults() |
void |
writeToParcel(Parcel dest,
int flags)
Implement the Parcelable interface
|
public WifiScanner.ScanData[] mResults
public static final Parcelable.Creator<WifiScanner.ParcelableScanData> CREATOR
public ParcelableScanData(WifiScanner.ScanData[] results)
public WifiScanner.ScanData[] 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
.