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