FileDocCategorySizeDatePackage
BatchedScanResult.javaAPI DocAndroid 5.1 API3103Thu Mar 12 22:22:44 GMT 2015android.net.wifi

BatchedScanResult

public class BatchedScanResult extends Object implements android.os.Parcelable
Describes the Results of a batched set of wifi scans where the firmware performs many scans and stores the timestamped results without waking the main processor each time.
hide
pending review

Fields Summary
private static final String
TAG
public boolean
truncated
Inidcates this scan was interrupted and may only have partial results.
public final List
scanResults
The result of this particular scan.
public static final Creator
CREATOR
Implement the Parcelable interface {@hide}
Constructors Summary
public BatchedScanResult()



      
    
public BatchedScanResult(BatchedScanResult source)

        truncated = source.truncated;
        for (ScanResult s : source.scanResults) scanResults.add(new ScanResult(s));
    
Methods Summary
public intdescribeContents()
Implement the Parcelable interface {@hide}

        return 0;
    
public java.lang.StringtoString()

        StringBuffer sb = new StringBuffer();

        sb.append("BatchedScanResult: ").
                append("truncated: ").append(String.valueOf(truncated)).
                append("scanResults: [");
        for (ScanResult s : scanResults) {
            sb.append(" <").append(s.toString()).append("> ");
        }
        sb.append(" ]");
        return sb.toString();
    
public voidwriteToParcel(android.os.Parcel dest, int flags)
Implement the Parcelable interface {@hide}

        dest.writeInt(truncated ? 1 : 0);
        dest.writeInt(scanResults.size());
        for (ScanResult s : scanResults) {
            s.writeToParcel(dest, flags);
        }