Android.Mtp.MtpDevice.ImportFile Method
Copies the data for an object to a file in external storage.

Syntax

[Android.Runtime.Register("importFile", "(ILjava/lang/String;)Z", "")]
public bool ImportFile (int objectHandle, string destPath)

Parameters

objectHandle
handle of the object to read
destPath
path to destination for the file transfer. This path should be in the external storage as defined by Android.OS.Environment.ExternalStorageDirectory

Returns

Documentation for this section has not yet been entered.

Remarks

Copies the data for an object to a file in external storage. This call may block for an arbitrary amount of time depending on the size of the data and speed of the devices.

[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