CloudMediaProviderContract.MediaColumns.Id Field

Definition

Unique ID of a media item.

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

Field Value

Attributes

Remarks

Unique ID of a media item. This ID is both provided by and interpreted by a CloudMediaProvider, and should be treated as an opaque value by client applications.

Each media item must have a unique ID within a provider.

A provider must always return stable IDs, since they will be used to issue long-term URI permission grants when an application interacts with MediaStore#ACTION_PICK_IMAGES.

Type: STRING

Java documentation for android.provider.CloudMediaProviderContract.MediaColumns.ID.

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