Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for passing flags in LFXClient.open #29

Open
iheart2code opened this issue Jan 30, 2015 · 0 comments
Open

Allow for passing flags in LFXClient.open #29

iheart2code opened this issue Jan 30, 2015 · 0 comments

Comments

@iheart2code
Copy link
Contributor

Currently we have two open modes:

  • wait for all information client.open(true)
  • stream information as it comes in client.open(false)

It would be great if we could have flags to allow for picking and choosing what open waits for. We could do something like this to wait for all light & group info before connection success.

LFXClient client = new LFXClient();
client.open(LFXConfig.ALL_LIGHTS | LFXConfig.ALL_GROUPS);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant