Callback

interface Callback

Callback

Inheritors

Types

Link copied to clipboard

Default implementation

Functions

Link copied to clipboard
open fun onAddMediaItems(mediaSession: PillarboxMediaSession, controller: MediaSession.ControllerInfo, mediaItems: MutableList<MediaItem>): ListenableFuture<MutableList<MediaItem>>
Link copied to clipboard
open fun onSetMediaItems(mediaSession: PillarboxMediaSession, controller: MediaSession.ControllerInfo, mediaItems: MutableList<MediaItem>, startIndex: Int, startPositionMs: Long): ListenableFuture<MediaSession.MediaItemsWithStartPosition>