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
    void close()
    Closes the event stream.
    HueEventStreamState getState()
    Returns the state of this event stream.
  • Method Details

    • close

      void close()
      Closes the event stream. No more events will be received.
      Specified by:
      close in interface AutoCloseable
    • getState

      Returns the state of this event stream.
      Returns:
      State of this event stream. Should be ACTIVE for this to work properly.