Package com.diozero.internal.provider
Interface DeviceInterface
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Subinterfaces:
AnalogInputDeviceInterface
,AnalogOutputDeviceInterface
,GpioDeviceInterface
,GpioDigitalDeviceInterface
,GpioDigitalInputDeviceInterface
,GpioDigitalInputOutputDeviceInterface
,GpioDigitalOutputDeviceInterface
,I2CDeviceInterface
,PwmOutputDeviceInterface
,SerialDeviceInterface
,SpiDeviceInterface
- All Known Implementing Classes:
AbstractDevice
,AbstractInputDevice
,DefaultI2CDevice
,DefaultNativeSerialDevice
,DefaultNativeSpiDevice
,MCP23xxxDigitalInputDevice
,MCP23xxxDigitalInputOutputDevice
,MCP23xxxDigitalOutputDevice
,NativeGpioInputDevice
,NativeGpioInputOutputDevice
,NativeGpioOutputDevice
,OdroidC2SysFsPwmOutputDevice
,PiconZero.PiconZeroAnalogInputDevice
,PiconZero.PiconZeroAnalogOutputDevice
,PiconZero.PiconZeroDigitalInputDevice
,PiconZero.PiconZeroDigitalOutputDevice
,PiconZero.PiconZeroPwmOutputDevice
,SoftwarePwmOutputDevice
,SysFsAnalogInputDevice
,SysFsDigitalInputDevice
,SysFsDigitalInputOutputDevice
,SysFsDigitalOutputDevice
,SysFsPwmOutputDevice
public interface DeviceInterface extends Closeable
-
Method Summary
-
Method Details
-
getKey
String getKey() -
isOpen
boolean isOpen() -
close
void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-