FileDocCategorySizeDatePackage
WifiNetworkConnectionStatistics.javaAPI DocAndroid 5.1 API2674Thu Mar 12 22:22:44 GMT 2015android.net.wifi

WifiNetworkConnectionStatistics

public class WifiNetworkConnectionStatistics extends Object implements android.os.Parcelable
Connection Statistics For a WiFi Network.
hide

Fields Summary
private static final String
TAG
public int
numConnection
public int
numUsage
public static final Creator
CREATOR
Implement the Parcelable interface
Constructors Summary
public WifiNetworkConnectionStatistics(int connection, int usage)


         
        numConnection = connection;
        numUsage = usage;
    
public WifiNetworkConnectionStatistics()

 
public WifiNetworkConnectionStatistics(WifiNetworkConnectionStatistics source)
copy constructor

        numConnection = source.numConnection;
        numUsage = source.numUsage;
    
Methods Summary
public intdescribeContents()
Implement the Parcelable interface

        return 0;
    
public java.lang.StringtoString()

        StringBuilder sbuf = new StringBuilder();
        sbuf.append("c=").append(numConnection);
        sbuf.append(" u=").append(numUsage);
        return sbuf.toString();
    
public voidwriteToParcel(android.os.Parcel dest, int flags)
Implement the Parcelable interface

        dest.writeInt(numConnection);
        dest.writeInt(numUsage);