DropBoxManager.AddFile(String, File, DropBoxManagerFlags) Method

Definition

Stores the contents of a file, which may be ignored or discarded as with #addText.

[Android.Runtime.Register("addFile", "(Ljava/lang/String;Ljava/io/File;I)V", "GetAddFile_Ljava_lang_String_Ljava_io_File_IHandler")]
public virtual void AddFile (string tag, Java.IO.File file, Android.OS.DropBoxManagerFlags flags);
[<Android.Runtime.Register("addFile", "(Ljava/lang/String;Ljava/io/File;I)V", "GetAddFile_Ljava_lang_String_Ljava_io_File_IHandler")>]
abstract member AddFile : string * Java.IO.File * Android.OS.DropBoxManagerFlags -> unit
override this.AddFile : string * Java.IO.File * Android.OS.DropBoxManagerFlags -> unit

Parameters

tag
String

describing the type of entry being stored

file
File

to read from

flags
DropBoxManagerFlags

describing the data

Attributes

Exceptions

if the file can't be opened

Remarks

Stores the contents of a file, which may be ignored or discarded as with #addText.

Java documentation for android.os.DropBoxManager.addFile(java.lang.String, java.io.File, int).

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