語言

UsbDevice.DeviceClass 屬性

定義

回傳裝置的類別欄位。

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

屬性值

裝置的類別

屬性

備註

回傳裝置的類別欄位。 一些對 USB 裝置類別有用的常數可以在 中找到 UsbConstants。

Java 文件 android.hardware.usb.UsbDevice.getDeviceClass()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於