Android.Content.ContentProvider.OpenFileHelper Method
Convenience for subclasses that wish to implement ContentProvider.OpenFile(Android.Net.Uri, System.String) by looking up a column named "_data" at the given URI.

Syntax

[Android.Runtime.Register("openFileHelper", "(Landroid/net/Uri;Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;", "")]
protected Android.OS.ParcelFileDescriptor OpenFileHelper (Android.Net.Uri uri, string mode)

Parameters

uri
The URI to be opened.
mode
The file mode. May be "r" for read-only access, "w" for write-only access (erasing whatever data is currently in the file), "wa" for write-only access to append to any existing data, "rw" for read and write access on any existing data, and "rwt" for read and write access that truncates any existing file.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.FileNotFoundException

Remarks

Convenience for subclasses that wish to implement ContentProvider.OpenFile(Android.Net.Uri, System.String) by looking up a column named "_data" at the given URI.

[Android Documentation]

Requirements

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