android.net
Class DhcpInfo
java.lang.Object
android.net.DhcpInfo
- All Implemented Interfaces:
- Parcelable
public class DhcpInfo
- extends Object
- implements Parcelable
A simple object for retrieving the results of a DHCP request.
|
Method Summary |
int |
describeContents()
Implement the Parcelable interface |
String |
toString()
Returns a string containing a concise, human-readable description of the
receiver. |
void |
writeToParcel(Parcel dest,
int flags)
Implement the Parcelable interface |
ipAddress
public int ipAddress
gateway
public int gateway
netmask
public int netmask
dns1
public int dns1
dns2
public int dns2
serverAddress
public int serverAddress
leaseDuration
public int leaseDuration
CREATOR
public static final Parcelable.Creator<DhcpInfo> CREATOR
- Implement the Parcelable interface
DhcpInfo
public DhcpInfo()
toString
public String toString()
- Description copied from class:
Object
- Returns a string containing a concise, human-readable description of the
receiver.
- Overrides:
toString in class Object
- Returns:
- String a printable representation for the receiver.
describeContents
public int describeContents()
- Implement the Parcelable interface
- Specified by:
describeContents in interface Parcelable
- Returns:
- a bitmask indicating the set of special object types marshalled
by the Parcelable.
writeToParcel
public void writeToParcel(Parcel dest,
int flags)
- Implement the Parcelable interface
- Specified by:
writeToParcel in interface Parcelable
- Parameters:
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.
Please submit a feedback, bug or feature