|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SupplicantState>
android.net.wifi.SupplicantState
public enum SupplicantState
From defs.h in wpa_supplicant.
NetworkInfo.State.
Note, the order of these enum constants must match the numerical values of the
state constants in defs.h in wpa_supplicant.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
Parcelable.Creator<T> |
| Enum Constant Summary | |
|---|---|
ASSOCIATED
Association completed. |
|
ASSOCIATING
Trying to associate with a BSS/SSID. |
|
COMPLETED
All authentication completed. |
|
DISCONNECTED
This state indicates that client is not associated, but is likely to start looking for an access point. |
|
DORMANT
An Android-added state that is reported when a client issues an explicit DISCONNECT command. |
|
FOUR_WAY_HANDSHAKE
WPA 4-Way Key Handshake in progress. |
|
GROUP_HANDSHAKE
WPA Group Key Handshake in progress. |
|
INACTIVE
Inactive state (wpa_supplicant disabled). |
|
INVALID
A pseudo-state that should normally never be seen. |
|
SCANNING
Scanning for a network. |
|
UNINITIALIZED
No connection to wpa_supplicant. |
|
| Field Summary | |
|---|---|
static Parcelable.Creator<SupplicantState> |
CREATOR
Implement the Parcelable interface |
| Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
| Method Summary | |
|---|---|
int |
describeContents()
Implement the Parcelable interface |
static boolean |
isValidState(SupplicantState state)
Returns true if the supplicant state is valid and false
otherwise. |
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)
Implement the Parcelable interface |
| 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 |
| Enum Constant Detail |
|---|
public static final SupplicantState DISCONNECTED
public static final SupplicantState INACTIVE
public static final SupplicantState SCANNING
public static final SupplicantState ASSOCIATING
public static final SupplicantState ASSOCIATED
public static final SupplicantState FOUR_WAY_HANDSHAKE
public static final SupplicantState GROUP_HANDSHAKE
public static final SupplicantState COMPLETED
public static final SupplicantState DORMANT
public static final SupplicantState UNINITIALIZED
public static final SupplicantState INVALID
| Field Detail |
|---|
public static final Parcelable.Creator<SupplicantState> CREATOR
| Method Detail |
|---|
public static SupplicantState[] values()
for (SupplicantState c : SupplicantState.values()) System.out.println(c);
public static SupplicantState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static boolean isValidState(SupplicantState state)
true if the supplicant state is valid and false
otherwise.
state - The supplicant state
true if the supplicant state is valid and false
otherwise.public int describeContents()
describeContents in interface Parcelable
public void writeToParcel(Parcel dest,
int flags)
writeToParcel in interface Parcelabledest - The Parcel in which the object should be written.flags - Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||