404: Not Found
|Last commit: 4 days ago|
Playlist support has been improved:
SRGLetterboxControllerPlaylistDataSourceprotocol was reduced to item retrieval and cursor updates only.
SRGLetterboxControllerPlaybackTransitionDelegateprotocol has been introduced for methods related to playback transitions, which were previously part of the data source protocol.
If you were using
SRGLetterboxControllerPlaylistDataSource in your apps proceed as follows to migrate your code:
-controller:didTransitionToMedia:automatically:to update the current item within your playlist data source implementation, use the new
-controller:didChangeToMedia:data source method instead. If you were using this method to observe continuous playback transitions between medias you should now subscribe to the
SRGLetterboxPlaybackDidContinueAutomaticallyNotificationnotification and / or implement
SRGLetterboxViewControllerDelegatefor tvOS) instead. Both protocols contain methods with which you can be informed whether a user engaged in continuous playback or cancelled it, while the notification lets you know when this transition happened automatically without user interaction (and maybe without any player view being displayed).
-continuousPlaybackTransitionDurationForController:method, which has been moved to the transition delegate protocol.