Interface DeviceEvent.Builder

    • Method Detail

      • device

        DeviceEvent.Builder device​(Device device)

        An object representing the device associated with the event.

        Parameters:
        device - An object representing the device associated with the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stdEvent

        DeviceEvent.Builder stdEvent​(String stdEvent)

        A serialized JSON object representing the device-type specific event.

        Parameters:
        stdEvent - A serialized JSON object representing the device-type specific event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.