UsbDeviceConnection.ReleaseInterface(UsbInterface) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- intf
- UsbInterface
Returns
true if the interface was successfully released
- Attributes
Remarks
Releases exclusive access to a 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.