FakeMusicCatalogItem
data class FakeMusicCatalogItem(val item: IviMediaItem, val children: List<FakeMusicCatalogItem> = emptyList()) : Parcelable
FakeMusic media source catalog entry.
This can be used to make a realistic-looking catalog with categories, playable, and browsable items to run a test for the media domain with a specific predictable data set.
Constructors
Properties
Functions
Link copied to clipboard
Export this FakeMusicCatalogItem to normal IviMediaItems in a list, including any defined children.
Link copied to clipboard
Returns an IviMediaItem with the given mediaId in this item and all of its children.
Link copied to clipboard
Returns the FakeMusicCatalogItem containing the given mediaId in its children, or null
if no items match.