io.github.zeroone3010.yahueapi.HueBridgeProtocol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yetanotherhueapi Show documentation
Show all versions of yetanotherhueapi Show documentation
A library for controlling Philips Hue lights.
package io.github.zeroone3010.yahueapi;
public enum HueBridgeProtocol {
/**
* A regular HTTP connection.
*/
HTTP("http"),
/**
* An encrypted HTTPS connection. However, as the Bridge uses a self-signed certificate,
* it is not possible to verify it. Using this enum value turns off the certificate
* verification.
*/
UNVERIFIED_HTTPS("https");
private final String protocol;
HueBridgeProtocol(final String protocol) {
this.protocol = protocol;
}
String getProtocol() {
return protocol;
}
}