//readium-navigator/org.readium.r2.navigator.media
Package-level declarations¶
Types¶
Name | Summary |
---|---|
ExoMediaPlayer | [androidJvm] class ExoMediaPlayer(context: Context, mediaSession: MediaSessionCompat, media: PendingMedia, cache: Cache? = null) : MediaPlayer, CoroutineScope An implementation of MediaPlayer using ExoPlayer. |
MediaPlayback | [androidJvm] data class MediaPlayback(val state: MediaPlayback.State, val rate: Double, val timeline: MediaPlayback.Timeline) State of the playback at a point in time. |
MediaPlayer | [androidJvm] interface MediaPlayer Media player compatible with Android's MediaSession and handling the playback for MediaSessionNavigator. |
MediaService | [androidJvm] open class MediaService : MediaBrowserServiceCompat, CoroutineScope MediaBrowserServiceCompat implementation holding the current MediaSessionNavigator for background playback. |
MediaSessionNavigator | [androidJvm] class MediaSessionNavigator(val publication: Publication, val publicationId: PublicationId, val controller: MediaControllerCompat, var listener: MediaSessionNavigator.Listener? = null) : MediaNavigator, CoroutineScope An implementation of MediaNavigator using an Android's MediaSession compatible media player. |
PendingMedia | [androidJvm] data class PendingMedia(val publication: Publication, val publicationId: PublicationId, val locator: Locator) Holds information about a media-based publication waiting to be rendered by a MediaPlayer. |