PhilipsHueSDK-Java-MultiPlatform-Android icon indicating copy to clipboard operation
PhilipsHueSDK-Java-MultiPlatform-Android copied to clipboard

Provide an alternative to PHBridgeInternal.generateUniqueKey()

Open Monomachus opened this issue 10 years ago • 0 comments

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

Monomachus avatar Dec 24 '15 14:12 Monomachus