NetworkQuotaInfopublic class NetworkQuotaInfo extends Object implements android.os.ParcelableInformation about quota status on a specific network. |
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 int | describeContents()
return 0;
| public long | getEstimatedBytes()
return mEstimatedBytes;
| public long | getHardLimitBytes()
return mHardLimitBytes;
| public long | getSoftLimitBytes()
return mSoftLimitBytes;
| public void | writeToParcel(android.os.Parcel out, int flags)
out.writeLong(mEstimatedBytes);
out.writeLong(mSoftLimitBytes);
out.writeLong(mHardLimitBytes);
|
|