Class DeviceEvent

java.lang.Object
com.diozero.api.DeviceEvent
Direct Known Subclasses:
AnalogInputEvent, DigitalInputEvent

public abstract class DeviceEvent
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    DeviceEvent​(int gpio, long epochTime, long nanoTime)  
  • Method Summary

    Modifier and Type Method Description
    long getEpochTime()  
    int getGpio()  
    long getNanoTime()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DeviceEvent

      public DeviceEvent​(int gpio, long epochTime, long nanoTime)
  • Method Details