Package com.diozero.api
Interface DeviceInterface
-
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
AnalogDeviceInterface
,AnalogInputDeviceInterface
,AnalogOutputDeviceInterface
,BarometerInterface
,DigitalInputDeviceInterface
,DistanceSensorInterface
,GpioDeviceInterface
,GpioDigitalDeviceInterface
,GpioDigitalInputDeviceInterface
,GpioDigitalInputOutputDeviceInterface
,GpioDigitalOutputDeviceInterface
,GpioExpander
,HygrometerInterface
,I2CDeviceInterface
,I2CSMBusInterface
,InternalDeviceInterface
,InternalI2CDeviceInterface
,InternalPwmOutputDeviceInterface
,InternalSerialDeviceInterface
,InternalServoDeviceInterface
,InternalSpiDeviceInterface
,LuminositySensorInterface
,MotorInterface
,SensorInterface
,SerialDeviceInterface
,SpiDeviceInterface
,ThermometerInterface
- All Known Implementing Classes:
AbstractDevice
,AbstractDigitalInputDevice
,AbstractInputDevice
,Ads112C04
,Ads1x15
,AnalogInputDevice
,AnalogOutputDevice
,BareLcd
,BH1750
,BME280
,BME680
,BME68x
,BMP180
,Button
,Buzzer
,CamJamKitDualMotor
,ColourSsdOled
,DebouncedDigitalInputDevice
,DefaultNativeSerialDevice
,DefaultNativeSpiDevice
,DigitalInputDevice
,DigitalInputOutputDevice
,DigitalMotor
,DigitalOutputDevice
,DualMotor
,GP2Y0A21YK
,GpioDevice
,GpioInputDevice
,HCSR04
,HCSR04UsingEvents
,HCSR04UsingWait
,HD44780Lcd
,HTS221
,I2CDevice
,Keypad
,LDR
,LED
,LedBarGraph
,LedButton
,LM73
,LPS25H
,Max30102
,MCP23008
,MCP23017
,MCP23S17
,MCP23x08
,MCP23x17
,MCP23xxx
,MCP23xxxDigitalInputDevice
,MCP23xxxDigitalInputOutputDevice
,MCP23xxxDigitalOutputDevice
,McpAdc
,McpEeprom
,MFRC522
,MotionSensor
,MotorBase
,NativeGpioInputDevice
,NativeGpioInputOutputDevice
,NativeGpioOutputDevice
,NativeI2CDeviceJavaRaf
,NativeI2CDeviceSMBus
,OdroidC2SysFsPwmOutputDevice
,OutputShiftRegister
,PCA9685
,PCF8574
,PCF8591
,PiconZero
,PiconZero.PiconZeroAnalogInputDevice
,PiconZero.PiconZeroAnalogOutputDevice
,PiconZero.PiconZeroDigitalInputDevice
,PiconZero.PiconZeroDigitalOutputDevice
,PiconZero.PiconZeroPwmOutputDevice
,PiconZero.PiconZeroServoDevice
,PiconZeroMotor
,Potentiometer
,PwmLed
,PwmLedBarGraph
,PwmMotor
,PwmOutputDevice
,PwmServo
,PwmServoDevice
,RgbLed
,RgbPwmLed
,RyanteckDualMotor
,SerialDevice
,ServoDevice
,SevenSegmentDisplay
,SGP30
,SilentStepStick
,SmoothedInputDevice
,SoftwarePwmOutputDevice
,SpiDevice
,SSD1306
,SSD1331
,SSD1351
,SsdOled
,ST7735
,ST7789
,ST77xx
,SysFsAnalogInputDevice
,SysFsDigitalInputDevice
,SysFsDigitalInputOutputDevice
,SysFsDigitalOutputDevice
,SysFsPwmOutputDevice
,TB6612FNGDualMotorDriver
,TB6612FNGMotor
,TCS3200
,TMP36
,TSL2561
,VL6180
,W1ThermSensor
,WaveshareEink
,WaveshareEink75b
public interface DeviceInterface extends AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Close this device
-
-
-
Method Detail
-
close
void close() throws RuntimeIOException
Close this device- Specified by:
close
in interfaceAutoCloseable
- Throws:
RuntimeIOException
-
-