public enum WPSMode extends Enum<WPSMode>
Enum Constant and Description |
---|
NFC
Near Field Communication (NFC) method.
|
NONE
No method.
|
PIN
Personal Identification Number (PIN) method.
|
PushButton
Push button method.
|
USB
USB method.
|
Modifier and Type | Method and Description |
---|---|
static WPSMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WPSMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WPSMode NFC
public static final WPSMode NONE
public static final WPSMode PIN
public static final WPSMode PushButton
public static final WPSMode USB
public static WPSMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static WPSMode[] values()
for (WPSMode c : WPSMode.values()) System.out.println(c);