The second Android 11 Developer Preview is now available, test it out and share your feedback.

com.google.android.things.pio

Interfaces

Gpio Controls a GPIO pin. 
GpioCallback GPIO interrupt callback. 
I2cDevice Controls an I2C device. 
Pwm Controls a PWM pin. 
SpiDevice Controls a SpiDevice. 
UartDevice Controls a UART device. 
UartDeviceCallback UART interrupt callback. 

Classes

PeripheralManager Lists and opens peripherals.