Serializable, Comparable<HueBridgeProtocol>public enum HueBridgeProtocol extends Enum<HueBridgeProtocol>
| Enum Constant | Description |
|---|---|
HTTP |
A regular HTTP connection.
|
UNVERIFIED_HTTPS |
An encrypted HTTPS connection.
|
| Modifier and Type | Method | Description |
|---|---|---|
static HueBridgeProtocol |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static HueBridgeProtocol[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HueBridgeProtocol HTTP
public static final HueBridgeProtocol UNVERIFIED_HTTPS
public static HueBridgeProtocol[] values()
for (HueBridgeProtocol c : HueBridgeProtocol.values()) System.out.println(c);
public static HueBridgeProtocol 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 © 2019. All rights reserved.