語言

UsbDevice.InterfaceCount 屬性

定義

回傳該裝置所包含的 UsbInterfaces 數量。

public virtual int InterfaceCount { [Android.Runtime.Register("getInterfaceCount", "()I", "GetGetInterfaceCountHandler")] get; }
[<get: Android.Runtime.Register("getInterfaceCount", "()I", "GetGetInterfaceCountHandler")>]
member this.InterfaceCount : int

屬性值

介面數量

屬性

備註

回傳該裝置所包含的 UsbInterfaces 數量。 對於有多種配置的裝置,你可能會想改用 UsbConfiguration#getInterfaceCount 它。

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

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

適用於