CloudMediaProviderContract.Capabilities.IsAlbumsAsCategoryEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether the provider advertises user albums as a grouped category.
public bool IsAlbumsAsCategoryEnabled { [Android.Runtime.Register("isAlbumsAsCategoryEnabled", "()Z", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("isAlbumsAsCategoryEnabled", "()Z", "", ApiSince=36)>]
member this.IsAlbumsAsCategoryEnabled : bool
Property Value
true if this capability is enabled; otherwise, false.
- Attributes
Remarks
When this capability and IsMediaCategoriesEnabled are both enabled, OnQueryAlbums(Bundle) is no longer called to synchronize user albums. A category with type MediaCategoryTypeUserAlbums is expected in the results of OnQueryMediaCategories(String, Bundle, CancellationSignal). If no such category is returned, there is no data for custom albums.
This capability has no effect if media categories are not enabled.
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.