public class NetworkInfo extends Object implements Parcelable
| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkInfo.DetailedState |
static class |
NetworkInfo.State |
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
NetworkInfo.DetailedState |
getDetailedState() |
String |
getExtraInfo() |
String |
getReason() |
NetworkInfo.State |
getState() |
int |
getSubtype() |
String |
getSubtypeName() |
int |
getType() |
String |
getTypeName() |
boolean |
isAvailable() |
boolean |
isConnected() |
boolean |
isConnectedOrConnecting() |
boolean |
isFailover() |
boolean |
isRoaming() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public int getType()
public int getSubtype()
public String getTypeName()
public String getSubtypeName()
public boolean isConnectedOrConnecting()
public boolean isConnected()
public boolean isAvailable()
public boolean isFailover()
public boolean isRoaming()
public NetworkInfo.State getState()
public NetworkInfo.DetailedState getDetailedState()
public String getReason()
public String getExtraInfo()
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface ParcelableCopyright © 2008-2013. All Rights Reserved.