Condividi tramite


UsbDevice.DeviceClass Property

Definition

Returns the devices's class field.

public virtual Android.Hardware.Usb.UsbClass DeviceClass { [Android.Runtime.Register("getDeviceClass", "()I", "GetGetDeviceClassHandler")] get; }
[<get: Android.Runtime.Register("getDeviceClass", "()I", "GetGetDeviceClassHandler")>]
member this.DeviceClass : Android.Hardware.Usb.UsbClass

Property Value

the devices's class

Attributes

Remarks

Returns the devices's class field. Some useful constants for USB device classes can be found in UsbConstants.

Java documentation for android.hardware.usb.UsbDevice.getDeviceClass().

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.

Applies to