createPlaylist

open override fun createPlaylist(name: String): ObservablePlaylist
@JvmName(name = "createPlaylistWithIds")
open override fun createPlaylist(name: String, audioItemIds: List<Int>): ObservablePlaylist


Creates a new playlist with name pre-populated with audioItems.

Return

the created ObservablePlaylist

Parameters

name

the unique playlist name

audioItems

the audio items to include in the playlist

Throws

if a playlist with name already exists