Package-level declarations
Types
Link copied to clipboard
class ActivityBrainSlug
TODO: Remove this. This class should help for transitioning from and to fullscreen mode. However A user could also just subscribe to the NewPlayerUIState to check weather the UI is in fullscreen mode or not.
Link copied to clipboard
interface NewPlayer
The default implementation of the NewPlayer interface is NewPlayerImpl.
Link copied to clipboard
class NewPlayerImpl(val app: Application, val playerActivityClass: Class<out Activity>, val repository: MediaRepository, val notificationIcon: IconCompat = IconCompat.createWithResource(
app,
R.drawable.new_player_tiny_icon
), val rescueStreamFault: suspend (item: String?, mediaItem: MediaItem?, Exception, repository: MediaRepository) -> StreamExceptionResponse = { _, _, _, _ -> NoResponse() }) : NewPlayer