android.net.wifi
Enum SupplicantState
java.lang.Object
java.lang.Enum<SupplicantState>
android.net.wifi.SupplicantState
- All Implemented Interfaces:
- Parcelable, java.io.Serializable, java.lang.Comparable<SupplicantState>
public enum SupplicantState
- extends java.lang.Enum<SupplicantState>
- implements Parcelable
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ASSOCIATED
public static final SupplicantState ASSOCIATED
ASSOCIATING
public static final SupplicantState ASSOCIATING
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
INVALID
public static final SupplicantState INVALID
SCANNING
public static final SupplicantState SCANNING
UNINITIALIZED
public static final SupplicantState UNINITIALIZED
values
public static final SupplicantState[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're declared
valueOf
public static SupplicantState valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
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-2010. All Rights Reserved.