public enum SonosErrorCode extends Enum<SonosErrorCode>
SonosErrorCode class.
| Enum Constant and Description |
|---|
ERROR_CMD_FAILED |
ERROR_COMMAND_FAILED |
ERROR_INVALID_OBJECT_ID |
ERROR_INVALID_PARAMETER |
ERROR_INVALID_SYNTAX |
ERROR_MISSING_PARAMETERS |
ERROR_NOT_CAPABLE |
ERROR_RESOURCE_GONE |
ERROR_UNSUPPORTED_COMMAND |
ERROR_UNSUPPORTED_NAMESPACE |
| Modifier and Type | Method and Description |
|---|---|
static SonosErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SonosErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SonosErrorCode ERROR_MISSING_PARAMETERS
public static final SonosErrorCode ERROR_INVALID_SYNTAX
public static final SonosErrorCode ERROR_UNSUPPORTED_NAMESPACE
public static final SonosErrorCode ERROR_UNSUPPORTED_COMMAND
public static final SonosErrorCode ERROR_RESOURCE_GONE
public static final SonosErrorCode ERROR_NOT_CAPABLE
public static final SonosErrorCode ERROR_CMD_FAILED
public static final SonosErrorCode ERROR_INVALID_PARAMETER
public static final SonosErrorCode ERROR_INVALID_OBJECT_ID
public static final SonosErrorCode ERROR_COMMAND_FAILED
public static SonosErrorCode[] values()
for (SonosErrorCode c : SonosErrorCode.values()) System.out.println(c);
public static SonosErrorCode 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 nullCopyright © 2018. All rights reserved.