-
public class MediaNavControllerDomain focused NavController extensions that links to the screens of a typical Media app.
-
-
Field Summary
Fields Modifier and Type Field Description public final static MediaNavControllerINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitnavigateToCollection(NavController $self, String collectionId, String collectionName)Navigate to a single collection such as a playlist. final UnitnavigateToCollections(NavController $self)Navigate to a selections of collection such as a list of playlist. final UnitnavigateToSettings(NavController $self)Navigate to the settings screen. final UnitnavigateToMediaItem(NavController $self, String mediaItemId, String collectionId)Navigate to a single media item, as part of a larger collection. final UnitnavigateToPlayer(NavController $self)Navigate to the player page, removing other entries from the backstack. final UnitnavigateToLibrary(NavController $self)Navigate to the library page, removing other entries from the backstack. final UnitnavigateToVolume(NavController $self)Navigate to the volume screen. -
-
Method Detail
-
navigateToCollection
final Unit navigateToCollection(NavController $self, String collectionId, String collectionName)
Navigate to a single collection such as a playlist.
-
navigateToCollections
final Unit navigateToCollections(NavController $self)
Navigate to a selections of collection such as a list of playlist.
-
navigateToSettings
final Unit navigateToSettings(NavController $self)
Navigate to the settings screen.
-
navigateToMediaItem
final Unit navigateToMediaItem(NavController $self, String mediaItemId, String collectionId)
Navigate to a single media item, as part of a larger collection.
-
navigateToPlayer
final Unit navigateToPlayer(NavController $self)
Navigate to the player page, removing other entries from the backstack.
-
navigateToLibrary
final Unit navigateToLibrary(NavController $self)
Navigate to the library page, removing other entries from the backstack.
-
navigateToVolume
final Unit navigateToVolume(NavController $self)
Navigate to the volume screen.
-
-
-
-