Språk

MediaStore.GetRequireOriginal(Uri) Method

Definition

Return if the caller requires the original file contents when calling ContentResolver#openFileDescriptor(Uri, String).

[Android.Runtime.Register("getRequireOriginal", "(Landroid/net/Uri;)Z", "", ApiSince=30)]
public static bool GetRequireOriginal(Android.Net.Uri uri);
[<Android.Runtime.Register("getRequireOriginal", "(Landroid/net/Uri;)Z", "", ApiSince=30)>]
static member GetRequireOriginal : Android.Net.Uri -> bool

Parameters

uri
Uri

The URI from which the original-content request flag is read.

Returns

true when the first requireOriginal query value is neither false nor 0, ignoring letter case; false when the parameter is absent or has either of those values.

Attributes

Remarks

Return if the caller requires the original file contents when calling ContentResolver#openFileDescriptor(Uri, String).

Java documentation for android.provider.MediaStore.getRequireOriginal(android.net.Uri).

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