Language

HidDeviceTransport Enum

Definition

Identifies the transport used by a HID device.

public enum HidDeviceTransport
type HidDeviceTransport = 
Inheritance
HidDeviceTransport

Fields

Name Value Description
Unknown 0

Transport type is unknown.

Android reference for android.hardware.hid.HidDevice.TRANSPORT_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Usb 3

Transport type is USB.

Android reference for android.hardware.hid.HidDevice.TRANSPORT_USB.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Bluetooth 5

Transport type is Bluetooth.

Android reference for android.hardware.hid.HidDevice.TRANSPORT_BLUETOOTH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Virtual 6

Transport type is Virtual.

Android reference for android.hardware.hid.HidDevice.TRANSPORT_VIRTUAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

I2c 24

Transport type is I2C.

Android reference for android.hardware.hid.HidDevice.TRANSPORT_I2C.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Spi 28

Transport type is SPI.

Android reference for android.hardware.hid.HidDevice.TRANSPORT_SPI.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

These values map the native HidDevice.TRANSPORT_* constants to the managed Transport property.

Applies to