Partager via


UsbConfiguration.GetInterface(Int32) Méthode

Définition

Retourne l’index UsbInterface donné.

[Android.Runtime.Register("getInterface", "(I)Landroid/hardware/usb/UsbInterface;", "GetGetInterface_IHandler")]
public virtual Android.Hardware.Usb.UsbInterface GetInterface (int index);
[<Android.Runtime.Register("getInterface", "(I)Landroid/hardware/usb/UsbInterface;", "GetGetInterface_IHandler")>]
abstract member GetInterface : int -> Android.Hardware.Usb.UsbInterface
override this.GetInterface : int -> Android.Hardware.Usb.UsbInterface

Paramètres

index
Int32

Retours

l’interface

Attributs

Remarques

Retourne l’index UsbInterface donné.

Documentation Java pour android.hardware.usb.UsbConfiguration.getInterface(int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à