android.net.wifi
Enum SupplicantState
java.lang.Object
java.lang.Enum<SupplicantState>
android.net.wifi.SupplicantState
- All Implemented Interfaces:
- Parcelable, Serializable, Comparable<SupplicantState>
public enum SupplicantState
- extends Enum<SupplicantState>
- implements Parcelable
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
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.