MtpDevice.Close Method

Definition

Closes all resources related to the MtpDevice object.

[Android.Runtime.Register("close", "()V", "")]
public void Close ();
[<Android.Runtime.Register("close", "()V", "")>]
member this.Close : unit -> unit
Attributes

Remarks

Closes all resources related to the MtpDevice object. After this is called, the object can not be used until #open is called again with a new android.hardware.usb.UsbDeviceConnection.

Java documentation for android.mtp.MtpDevice.close().

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