Partager via


UsbDeviceConnection.ReleaseInterface(UsbInterface) Method

Definition

Releases exclusive access to a android.hardware.usb.UsbInterface.

[Android.Runtime.Register("releaseInterface", "(Landroid/hardware/usb/UsbInterface;)Z", "GetReleaseInterface_Landroid_hardware_usb_UsbInterface_Handler")]
public virtual bool ReleaseInterface (Android.Hardware.Usb.UsbInterface? intf);
[<Android.Runtime.Register("releaseInterface", "(Landroid/hardware/usb/UsbInterface;)Z", "GetReleaseInterface_Landroid_hardware_usb_UsbInterface_Handler")>]
abstract member ReleaseInterface : Android.Hardware.Usb.UsbInterface -> bool
override this.ReleaseInterface : Android.Hardware.Usb.UsbInterface -> bool

Parameters

Returns

true if the interface was successfully released

Attributes

Remarks

Releases exclusive access to a android.hardware.usb.UsbInterface.

Java documentation for android.hardware.usb.UsbDeviceConnection.releaseInterface(android.hardware.usb.UsbInterface).

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