Class DeviceEvent

    • Constructor Detail

      • DeviceEvent

        public DeviceEvent​(int gpio,
                           long epochTime,
                           long nanoTime)
        Constructor for a device event.
        Parameters:
        gpio - GPIO pin
        epochTime - Unix epoch time: seconds elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds
        nanoTime - current value of the Java Virtual Machine's high-resolution time source, in nanoseconds
    • Method Detail

      • getGpio

        public int getGpio()