PhilipsHueSDK-Java-MultiPlatform-Android
PhilipsHueSDK-Java-MultiPlatform-Android copied to clipboard
Provide an alternative to PHBridgeInternal.generateUniqueKey()
Hello I have a method:
public String getLastAccessPointUser() {
if (!isNullOrEmpty(getPropertyAsString(PHILIPS_HUE_LAST_CONNECTED_USERNAME))) {
return getPropertyAsString(PHILIPS_HUE_LAST_CONNECTED_USERNAME);
} else {
String username = PHBridgeInternal.generateUniqueKey();
savePropertyAsString(PHILIPS_HUE_LAST_CONNECTED_USERNAME, username);
return username;
}
}
I see that in latest JAR this method doesn't exist, please help me figuring out how should I do it using current version of JARs.
Thank you, Timur