unfollowCollection

fun unfollowCollection(context: Context = testContext, collectionId: String): Boolean

Unfollow a collectionId. This means that the collection is removed from a special library category FakeMusicMediaBrowserServiceInfo.LIBRARY_CATEGORY_ID and library item FakeMusicMediaBrowserServiceInfo.LIBRARY_ITEM_ID.

When using FakeMusicMediaSourceController from inside the test framework, leave context to the default value to use the instrumentation context.

Return

true when the action was successfully processed, false otherwise.

See also