Compartilhar via


UsbDevice.GetConfiguration(Int32) Method

Definition

Returns the UsbConfiguration at the given index.

[Android.Runtime.Register("getConfiguration", "(I)Landroid/hardware/usb/UsbConfiguration;", "GetGetConfiguration_IHandler")]
public virtual Android.Hardware.Usb.UsbConfiguration GetConfiguration (int index);
[<Android.Runtime.Register("getConfiguration", "(I)Landroid/hardware/usb/UsbConfiguration;", "GetGetConfiguration_IHandler")>]
abstract member GetConfiguration : int -> Android.Hardware.Usb.UsbConfiguration
override this.GetConfiguration : int -> Android.Hardware.Usb.UsbConfiguration

Parameters

index
Int32

Returns

the configuration

Attributes

Remarks

Returns the UsbConfiguration at the given index.

Java documentation for android.hardware.usb.UsbDevice.getConfiguration(int).

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