MediaNavController

Domain focused NavController extensions that links to the screens of a typical Media app.

Functions

Link copied to clipboard
fun NavController.navigateToCollection(collectionId: String, collectionName: String)

Navigate to a single collection such as a playlist.

Link copied to clipboard

Navigate to a selections of collection such as a list of playlist.

Link copied to clipboard

Navigate to the library page, removing other entries from the backstack.

Link copied to clipboard
fun NavController.navigateToMediaItem(mediaItemId: String, collectionId: String?)

Navigate to a single media item, as part of a larger collection.

Link copied to clipboard

Navigate to the player page, removing other entries from the backstack.

Link copied to clipboard

Navigate to the settings screen.

Link copied to clipboard

Navigate to the volume screen.