다음을 통해 공유


CloudMediaProviderContract.AlbumColumns.MediaCount Field

Definition

Total count of all media within the album, including photos and videos.

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

Field Value

Attributes

Remarks

Total count of all media within the album, including photos and videos.

If this field is not provided, albums will be shown without a count in the Photo Picker.

Empty albums should be omitted from the CloudMediaProvider#onQueryAlbums result, i.e. zero is not a valid media count.

Type: LONG

Java documentation for android.provider.CloudMediaProviderContract.AlbumColumns.MEDIA_COUNT.

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