Android.OS.DropBoxManager.AddFile Method
Stores the contents of a file, which may be ignored or discarded as with DropBoxManager.AddText(string, System.String).

Syntax

[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.Runtime.GeneratedEnum] DropBoxManagerFlags flags)

Parameters

tag
describing the type of entry being stored
file
to read from
flags
describing the data

Exceptions

TypeReason
Java.IO.IOExceptionif the file can't be opened

Remarks

Stores the contents of a file, which may be ignored or discarded as with DropBoxManager.AddText(string, System.String).

[Android Documentation]

Requirements

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