PlaylistListener

PlaylistListener identifies objects that expect to receive a Playlist object from an asynchronous operation. Note that on a successful operation, onPlaylist() should be called. Otherwise, onError() will be called.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun onError(error: String)

open fun onError(errors: List<CatalogError>)
This method must be implemented to handle any error that occurs during an asynchronous operation.
Link copied to clipboard
abstract fun onPlaylist(playlist: Playlist)
This method must be implemented to handle the Playlist object returned from an asynchronous operation.