PlayList

class PlayList

Playlist is a collection of songs. To make sure any changes to a playlist are persisted you must call saveChanges at the end

Constructors

PlayList
Link copied to clipboard
fun PlayList()

Types

Editor
Link copied to clipboard
inner class Editor
PlayListListener
Link copied to clipboard
interface PlayListListener

Functions

decrementIndex
Link copied to clipboard
fun decrementIndex()
first
Link copied to clipboard
fun first(): AudioFile?
incrementIndex
Link copied to clipboard
fun incrementIndex()
isEmpty
Link copied to clipboard
fun isEmpty(): Boolean
isNotEmpty
Link copied to clipboard
fun isNotEmpty(): Boolean
last
Link copied to clipboard
fun last(): AudioFile?
next
Link copied to clipboard
fun next(): AudioFile?
toList
Link copied to clipboard
fun toList(): List<AudioFile>

Properties

id
Link copied to clipboard
@SerializedName(value = "id")
lateinit var id: String
index
Link copied to clipboard
var index: Int = 0
name
Link copied to clipboard
@SerializedName(value = "name")
lateinit var name: String