Share via


CloudMediaProviderContract.ExtraMediaCollectionId Field

Definition

MediaCollectionInfo#MEDIA_COLLECTION_ID on which the media or album query occurred.

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

Field Value

Attributes

Remarks

MediaCollectionInfo#MEDIA_COLLECTION_ID on which the media or album query occurred.

Providers must set this token as part of the Cursor#setExtrasBundle returned from the cursors on query. This allows the OS to verify that the returned results match the MediaCollectionInfo#MEDIA_COLLECTION_ID queried via CloudMediaProvider#onGetMediaCollectionInfo. If the collection differs, the OS will ignore the result and may try again.

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