android.net.wifi
Enum SupplicantState

java.lang.Object
  extended by java.lang.Enum<SupplicantState>
      extended by android.net.wifi.SupplicantState
All Implemented Interfaces:
Parcelable, Serializable, Comparable<SupplicantState>

public enum SupplicantState
extends Enum<SupplicantState>
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Enum Constant Summary
ASSOCIATED
           
ASSOCIATING
           
AUTHENTICATING
           
COMPLETED
           
DISCONNECTED
           
DORMANT
           
FOUR_WAY_HANDSHAKE
           
GROUP_HANDSHAKE
           
INACTIVE
           
INTERFACE_DISABLED
           
INVALID
           
SCANNING
           
UNINITIALIZED
           
 
Field Summary
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Method Summary
 int describeContents()
           
static boolean isValidState(SupplicantState state)
           
static SupplicantState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SupplicantState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ASSOCIATED

public static final SupplicantState ASSOCIATED

ASSOCIATING

public static final SupplicantState ASSOCIATING

AUTHENTICATING

public static final SupplicantState AUTHENTICATING

COMPLETED

public static final SupplicantState COMPLETED

DISCONNECTED

public static final SupplicantState DISCONNECTED

DORMANT

public static final SupplicantState DORMANT

FOUR_WAY_HANDSHAKE

public static final SupplicantState FOUR_WAY_HANDSHAKE

GROUP_HANDSHAKE

public static final SupplicantState GROUP_HANDSHAKE

INACTIVE

public static final SupplicantState INACTIVE

INTERFACE_DISABLED

public static final SupplicantState INTERFACE_DISABLED

INVALID

public static final SupplicantState INVALID

SCANNING

public static final SupplicantState SCANNING

UNINITIALIZED

public static final SupplicantState UNINITIALIZED
Method Detail

values

public static SupplicantState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SupplicantState c : SupplicantState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SupplicantState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isValidState

public static boolean isValidState(SupplicantState state)

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-2012. All Rights Reserved.