Sdílet prostřednictvím


UsbDevice.InterfaceCount Property

Definition

Returns the number of UsbInterfaces this device contains.

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

Property Value

the number of interfaces

Attributes

Remarks

Returns the number of UsbInterfaces this device contains. For devices with multiple configurations, you will probably want to use UsbConfiguration#getInterfaceCount instead.

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

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