Builder
class Builder(service: MediaLibraryService, player: PillarboxPlayer, callback: PillarboxMediaLibrarySession.Callback)
A builder for PillarboxMediaLibrarySession.
Any incoming requests from the PillarboxMediaBrowser will be handled on the application thread of the underlying PillarboxPlayer.
Parameters
service
The MediaLibraryService that instantiates the PillarboxMediaLibrarySession.
player
The underlying player to perform playback and handle transport controls.
callback
The Callback to handle requests from PillarboxMediaBrowser.
Constructors
Link copied to clipboard
constructor(service: MediaLibraryService, player: PillarboxPlayer, callback: PillarboxMediaLibrarySession.Callback)