android.net.NetworkInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android Show documentation
Show all versions of android Show documentation
A library jar that provides APIs for Applications written for the Google Android Platform. The branch tag
that was used to checkout the source from the Git repos was android-2.1_r2.
package android.net;
public class NetworkInfo
implements android.os.Parcelable
{
public static enum State
{
CONNECTED(),
CONNECTING(),
DISCONNECTED(),
DISCONNECTING(),
SUSPENDED(),
UNKNOWN();
}
public static enum DetailedState
{
AUTHENTICATING(),
CONNECTED(),
CONNECTING(),
DISCONNECTED(),
DISCONNECTING(),
FAILED(),
IDLE(),
OBTAINING_IPADDR(),
SCANNING(),
SUSPENDED();
}
NetworkInfo() { throw new RuntimeException("Stub!"); }
public int getType() { throw new RuntimeException("Stub!"); }
public int getSubtype() { throw new RuntimeException("Stub!"); }
public java.lang.String getTypeName() { throw new RuntimeException("Stub!"); }
public java.lang.String getSubtypeName() { throw new RuntimeException("Stub!"); }
public boolean isConnectedOrConnecting() { throw new RuntimeException("Stub!"); }
public boolean isConnected() { throw new RuntimeException("Stub!"); }
public boolean isAvailable() { throw new RuntimeException("Stub!"); }
public boolean isFailover() { throw new RuntimeException("Stub!"); }
public boolean isRoaming() { throw new RuntimeException("Stub!"); }
public android.net.NetworkInfo.State getState() { throw new RuntimeException("Stub!"); }
public android.net.NetworkInfo.DetailedState getDetailedState() { throw new RuntimeException("Stub!"); }
public java.lang.String getReason() { throw new RuntimeException("Stub!"); }
public java.lang.String getExtraInfo() { throw new RuntimeException("Stub!"); }
public java.lang.String toString() { throw new RuntimeException("Stub!"); }
public int describeContents() { throw new RuntimeException("Stub!"); }
public void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }
}