Interface HueEventSource
- All Superinterfaces:
AutoCloseable
public interface HueEventSource extends AutoCloseable
Source of streaming events from the Hue Bridge.
-
Method Summary
Modifier and Type Method Description voidclose()Closes the event stream.HueEventStreamStategetState()Returns the state of this event stream.
-
Method Details
-
close
void close()Closes the event stream. No more events will be received.- Specified by:
closein interfaceAutoCloseable
-
getState
HueEventStreamState getState()Returns the state of this event stream.- Returns:
- State of this event stream. Should be
ACTIVEfor this to work properly.
-