Android Guides | Samples

Android.Hardware.Usb.UsbDeviceConnection.SetConfiguration Method

Sets the device's current UsbConfiguration.

Syntax

[Android.Runtime.Register("setConfiguration", "(Landroid/hardware/usb/UsbConfiguration;)Z", "GetSetConfiguration_Landroid_hardware_usb_UsbConfiguration_Handler")]
public virtual Boolean SetConfiguration (UsbConfiguration configuration)

Parameters

configuration

Remarks

Sets the device's current UsbConfiguration.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Usb
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12