Android.Mtp.MtpDevice.Close Method
Closes all resources related to the MtpDevice object.

Syntax

[Android.Runtime.Register("close", "()V", "")]
public void Close ()

Remarks

Closes all resources related to the MtpDevice object. After this is called, the object can not be used until MtpDevice.Open(Android.Hardware.Usb.UsbDeviceConnection) is called again with a new Android.Hardware.Usb.UsbDeviceConnection.

[Android Documentation]

Requirements

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