HidDeviceTransport Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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 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 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 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 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 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.