ContentProviderClient.OpenFile ContentProviderClient.OpenFile Method

Definition

Overloads

OpenFile(Uri, String) OpenFile(Uri, String)

See OpenFile(Uri, String).

OpenFile(Uri, String, CancellationSignal) OpenFile(Uri, String, CancellationSignal)

See OpenFile(Uri, String).

OpenFile(Uri, String) OpenFile(Uri, String)

See OpenFile(Uri, String).

[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);
abstract member OpenFile : Android.Net.Uri * string -> Android.OS.ParcelFileDescriptor
override this.OpenFile : Android.Net.Uri * string -> Android.OS.ParcelFileDescriptor

Parameters

url
Uri Uri
mode
String String

Returns

Exceptions

Remarks

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.

OpenFile(Uri, String, CancellationSignal) OpenFile(Uri, String, CancellationSignal)

See OpenFile(Uri, String).

[Android.Runtime.Register("openFile", "(Landroid/net/Uri;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/os/ParcelFileDescriptor;", "GetOpenFile_Landroid_net_Uri_Ljava_lang_String_Landroid_os_CancellationSignal_Handler", ApiSince=19)]
public virtual Android.OS.ParcelFileDescriptor OpenFile (Android.Net.Uri url, string mode, Android.OS.CancellationSignal signal);
abstract member OpenFile : Android.Net.Uri * string * Android.OS.CancellationSignal -> Android.OS.ParcelFileDescriptor
override this.OpenFile : Android.Net.Uri * string * Android.OS.CancellationSignal -> Android.OS.ParcelFileDescriptor

Parameters

url
Uri Uri
mode
String String

Returns

Exceptions

Remarks

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