MtpDevice.Close 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.
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.