Android
android.net
public final enum

android.net.NetworkType

java.lang.Object
java.lang.Enum<E extends java.lang.Enum<E>> Serializable Comparable<T>
android.net.NetworkType Parcelable

Type of network interface.

Summary

Enum Values

NetworkType  MOBILE   
NetworkType  WIFI   

Constants

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

Public Methods

          int  describeContents()
Implement the Parcelable interface
          String  toString()
Answer a string representation of the receiver suitable for display to a programmer.
      static    NetworkType  valueOf(String name)
    final  static    NetworkType[]  values()
          void  writeToParcel(Parcel dest, int flags)
Implement the Parcelable interface
Methods inherited from class java.lang.Enum
Methods inherited from class java.lang.Object
Methods inherited from interface android.os.Parcelable
Methods inherited from interface java.lang.Comparable

Details

Enum Values

public static final NetworkType MOBILE

public static final NetworkType WIFI

Constants

public static final Creator<NetworkType> CREATOR

Implement the Parcelable interface

Public Methods

public int describeContents()

Implement the Parcelable interface

public String toString()

Answer a string representation of the receiver suitable for display to a programmer.

Returns

  • the displayable string name.

public static NetworkType valueOf(String name)

public static final NetworkType[] values()

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