Udostępnij za pośrednictwem


CloudMediaProvider.OpenFile Method

Definition

Overloads

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

OpenFile(Uri, String)

[Android.Runtime.Register("openFile", "(Landroid/net/Uri;Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;", "", ApiSince=33)]
public override sealed Android.OS.ParcelFileDescriptor OpenFile (Android.Net.Uri uri, string mode);
[<Android.Runtime.Register("openFile", "(Landroid/net/Uri;Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;", "", ApiSince=33)>]
override this.OpenFile : Android.Net.Uri * string -> Android.OS.ParcelFileDescriptor

Parameters

uri
Uri
mode
String

Returns

Attributes

Applies to

OpenFile(Uri, String, CancellationSignal)

[Android.Runtime.Register("openFile", "(Landroid/net/Uri;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/os/ParcelFileDescriptor;", "", ApiSince=33)]
public override sealed Android.OS.ParcelFileDescriptor OpenFile (Android.Net.Uri uri, string mode, Android.OS.CancellationSignal? signal);
[<Android.Runtime.Register("openFile", "(Landroid/net/Uri;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/os/ParcelFileDescriptor;", "", ApiSince=33)>]
override this.OpenFile : Android.Net.Uri * string * Android.OS.CancellationSignal -> Android.OS.ParcelFileDescriptor

Parameters

uri
Uri
mode
String

Returns

Attributes

Applies to