Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Provide an alternative to PHBridgeInternal.generateUniqueKey() #27

Open
Monomachus opened this issue Dec 24, 2015 · 0 comments
Open

Provide an alternative to PHBridgeInternal.generateUniqueKey() #27

Monomachus opened this issue Dec 24, 2015 · 0 comments

Comments

@Monomachus
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant