android.net
Class NetworkInfo
java.lang.Object
android.net.NetworkInfo
- All Implemented Interfaces:
- Parcelable
public class NetworkInfo
- extends java.lang.Object
- implements Parcelable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getType
public int getType()
getSubtype
public int getSubtype()
getTypeName
public java.lang.String getTypeName()
getSubtypeName
public java.lang.String getSubtypeName()
isConnectedOrConnecting
public boolean isConnectedOrConnecting()
isConnected
public boolean isConnected()
isAvailable
public boolean isAvailable()
isFailover
public boolean isFailover()
isRoaming
public boolean isRoaming()
getState
public NetworkInfo.State getState()
getDetailedState
public NetworkInfo.DetailedState getDetailedState()
getReason
public java.lang.String getReason()
getExtraInfo
public java.lang.String getExtraInfo()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
describeContents
public int describeContents()
- Specified by:
describeContents in interface Parcelable
writeToParcel
public void writeToParcel(Parcel dest,
int flags)
- Specified by:
writeToParcel in interface Parcelable
Copyright © 2008-2010. All Rights Reserved.