Freigeben über


MediaStore.QueryArgRelatedUri Field

Definition

Specify a Uri that is "related" to the current operation being performed.

[Android.Runtime.Register("QUERY_ARG_RELATED_URI", ApiSince=30)]
public const string QueryArgRelatedUri;
[<Android.Runtime.Register("QUERY_ARG_RELATED_URI", ApiSince=30)>]
val mutable QueryArgRelatedUri : string

Field Value

Attributes

Remarks

Specify a Uri that is "related" to the current operation being performed.

This is typically used to allow an operation that may normally be rejected, such as making a copy of a pre-existing image located under a MediaColumns#RELATIVE_PATH where new images are not allowed.

It's strongly recommended that when making a copy of pre-existing content that you define the "original document ID" GUID as defined by the <em>XMP Media Management</em> standard.

This key can be placed in a Bundle of extras and passed to ContentResolver#insert.

Java documentation for android.provider.MediaStore.QUERY_ARG_RELATED_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