PlayListEventsListener
@objc(LwayvePlayListEventsListener)
public protocol PlayListEventsListener : AnyObject
                This protocol contains methods for handling playlist updates.
- 
                  
                  
This method is called each time the playlist has been updated.
Declaration
Swift
@objc optional func playlistDidUpdate(_ playlist: Playlist?, forUserContext userContext: UserContext)Parameters
playlistThe object that contains additional information about the updated playlist.
userContextUserContext of updated playlist
 - 
                  
                  
This method it called when last track of the playlist has finished playing
Declaration
Swift
@objc optional func playlistDidPlayToEnd(_ playlist: Playlist?)Parameters
playlistThe playlist that has been finished playing
 - 
                  
                  
The method is called when new content update info changes
Seealso
ContentUpdateTypeDeclaration
Swift
@objc optional func contentUpdateInfoDidChange(_ updateInfo: ContentUpdateInfo)Parameters
updateInfoindicates the type of update.
 
            View on GitHub
          
      PlayListEventsListener Protocol Reference