Android
android.net
public class

android.net.DhcpInfo

java.lang.Object
android.net.DhcpInfo Parcelable

A simple object for retrieving the results of a DHCP request.

Summary

Constants

      Value  
Creator<DhcpInfo CREATOR  Implement the Parcelable interface      
Constants inherited from interface android.os.Parcelable

Fields

public      int  dns1   
public      int  dns2   
public      int  gateway   
public      int  ipAddress   
public      int  leaseDuration   
public      int  netmask   
public      int  serverAddress   

Public Constructors

            DhcpInfo()

Public Methods

          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
Methods inherited from class java.lang.Object
Methods inherited from interface android.os.Parcelable

Details

Constants

public static final Creator<DhcpInfo> CREATOR

Implement the Parcelable interface

Fields

public int dns1

public int dns2

public int gateway

public int ipAddress

public int leaseDuration

public int netmask

public int serverAddress

Public Constructors

public DhcpInfo()

Public Methods

public int describeContents()

Implement the Parcelable interface

public String toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns

  • String a printable representation for the receiver.

public void writeToParcel(Parcel dest, int flags)

Implement the Parcelable interface
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48