public static enum WifiP2pService.P2pStatus extends Enum<WifiP2pService.P2pStatus>
Modifier and Type | Method and Description |
---|---|
static WifiP2pService.P2pStatus |
valueOf(int error) |
static WifiP2pService.P2pStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WifiP2pService.P2pStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WifiP2pService.P2pStatus SUCCESS
public static final WifiP2pService.P2pStatus INFORMATION_IS_CURRENTLY_UNAVAILABLE
public static final WifiP2pService.P2pStatus INCOMPATIBLE_PARAMETERS
public static final WifiP2pService.P2pStatus LIMIT_REACHED
public static final WifiP2pService.P2pStatus INVALID_PARAMETER
public static final WifiP2pService.P2pStatus UNABLE_TO_ACCOMMODATE_REQUEST
public static final WifiP2pService.P2pStatus PREVIOUS_PROTOCOL_ERROR
public static final WifiP2pService.P2pStatus NO_COMMON_CHANNEL
public static final WifiP2pService.P2pStatus UNKNOWN_P2P_GROUP
public static final WifiP2pService.P2pStatus BOTH_GO_INTENT_15
public static final WifiP2pService.P2pStatus INCOMPATIBLE_PROVISIONING_METHOD
public static final WifiP2pService.P2pStatus REJECTED_BY_USER
public static final WifiP2pService.P2pStatus UNKNOWN
public static WifiP2pService.P2pStatus[] values()
for (WifiP2pService.P2pStatus c : WifiP2pService.P2pStatus.values()) System.out.println(c);
public static WifiP2pService.P2pStatus 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 WifiP2pService.P2pStatus valueOf(int error)