DropBoxManager.AddFile(String, File, DropBoxManagerFlags) Method
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.
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
- tag
- String
describing the type of entry being stored
- file
- File
to read from
- flags
- DropBoxManagerFlags
describing the data
- Attributes
if the file can't be opened
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |