Sdílet prostřednictvím


CloudMediaProviderContract.MediaColumns.MediaStoreUri Field

Definition

MediaStore URI of a media file if the file is available locally on the device.

[Android.Runtime.Register("MEDIA_STORE_URI", ApiSince=33)]
public const string MediaStoreUri;
[<Android.Runtime.Register("MEDIA_STORE_URI", ApiSince=33)>]
val mutable MediaStoreUri : string

Field Value

Attributes

Remarks

MediaStore URI of a media file if the file is available locally on the device.

If it's a cloud-only media file, this field should not be set. Any of the following URIs can be used: MediaStore.Files, MediaStore.Images or MediaStore.Video e.g. content://media/file/45.

Implementations don't need to handle the MediaStore URI becoming invalid after the local item has been deleted or modified. If the URI becomes invalid or the local and cloud file content diverges, the OS will treat the cloud media item as a cloud-only item.

Type: STRING

Java documentation for android.provider.CloudMediaProviderContract.MediaColumns.MEDIA_STORE_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