Package com.google.android.horologist.media.model

Types

Command
Link copied to clipboard
enum Command : Enum<Command>
Commands that can be executed on a player.
Media
Link copied to clipboard
data class Media(id: String, uri: String, title: String, artist: String, artworkUri: String?, extras: Map<String, Any>)
Representation of a media.
MediaDownload
Link copied to clipboard
data class MediaDownload(media: Media, status: MediaDownload.Status, size: MediaDownload.Size)
Representation of a Media download.
MediaPosition
Link copied to clipboard
sealed class MediaPosition
Represents the current Media position, duration and percent progress.
PlayerState
Link copied to clipboard
enum PlayerState : Enum<PlayerState>
Represents the state of the player.
Playlist
Link copied to clipboard
data class Playlist(id: String, name: String, artworkUri: String?, mediaList: List<Media>)
Representation of a playlist.
PlaylistDownload
Link copied to clipboard
data class PlaylistDownload(playlist: Playlist, mediaList: List<MediaDownload>)
Representation of a Playlist download.