Android.Content.ContentProviderClient.OpenFile Method
See ContentProvider.OpenFile(Android.Net.Uri, System.String).

Syntax

[Android.Runtime.Register("openFile", "(Landroid/net/Uri;Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;", "GetOpenFile_Landroid_net_Uri_Ljava_lang_String_Handler")]
public virtual Android.OS.ParcelFileDescriptor OpenFile (Android.Net.Uri url, string mode)

Parameters

url
Documentation for this section has not yet been entered.
mode
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Android.OS.RemoteException
Java.IO.FileNotFoundException

Remarks

See ContentProvider.OpenFile(Android.Net.Uri, System.String). Note that this does not take care of non-content: URIs such as file:. It is strongly recommended you use the ContentResolver.OpenFileDescriptor(Android.Net.Uri, System.String) API instead.

[Android Documentation]

Requirements

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