FileDocCategorySizeDatePackage
NetworkQuotaInfo.javaAPI DocAndroid 5.1 API2303Thu Mar 12 22:22:10 GMT 2015android.net

NetworkQuotaInfo

public class NetworkQuotaInfo extends Object implements android.os.Parcelable
Information about quota status on a specific network.
hide

Fields Summary
private final long
mEstimatedBytes
private final long
mSoftLimitBytes
private final long
mHardLimitBytes
public static final long
NO_LIMIT
public static final Creator
CREATOR
Constructors Summary
public NetworkQuotaInfo(long estimatedBytes, long softLimitBytes, long hardLimitBytes)
{@hide}


      
           
        mEstimatedBytes = estimatedBytes;
        mSoftLimitBytes = softLimitBytes;
        mHardLimitBytes = hardLimitBytes;
    
public NetworkQuotaInfo(android.os.Parcel in)
{@hide}

        mEstimatedBytes = in.readLong();
        mSoftLimitBytes = in.readLong();
        mHardLimitBytes = in.readLong();
    
Methods Summary
public intdescribeContents()

        return 0;
    
public longgetEstimatedBytes()

        return mEstimatedBytes;
    
public longgetHardLimitBytes()

        return mHardLimitBytes;
    
public longgetSoftLimitBytes()

        return mSoftLimitBytes;
    
public voidwriteToParcel(android.os.Parcel out, int flags)

        out.writeLong(mEstimatedBytes);
        out.writeLong(mSoftLimitBytes);
        out.writeLong(mHardLimitBytes);