Package-level declarations
Types
Default implementation used to create simple PillarboxExoPlayer.
Builder to create a new instance of PillarboxExoPlayer.
Marker for Pillarbox's DSL.
Pillarbox player
Pillarbox LoadControl implementation that optimize content loading.
Pillarbox Player interface extension.
Helper class for the Media3's DefaultPreloadManager.
Factory used to create instances of PillarboxBuilder.
Functions
Available commands Player.getAvailableCommands as Flow.
Current buffered percentage as flow Player.getBufferedPercentage
Current media metadata as flow Player.getCurrentMediaItem
Current media metadata as flow Player.getMediaMetadata
Current position of the player updates every updateInterval when it is playing. Send current position once if not playing.
Duration Player.getDuration as Flow.
Get aspect ratio of the current video as Flow.
Get current media item index as flow Player.getCurrentMediaItemIndex
Get current media items as flow Player.getCurrentMediaItems
Get current tracks as flow Player.getCurrentTracks
Playback speed Player.getPlaybackSpeed as Flow.
Get track selection parameters as flow Player.getTrackSelectionParameters
Return if the playback speed is possible at position. Always return true for none live content or if Player.getCurrentTimeline is empty.
Is playing Player.isPlaying as Flow.
Media item count Player.getMediaItemCount as Flow.
Preconfigured BandwidthMeter for Pillarbox.
Create a new instance of PillarboxExoPlayer.
Preconfigured RenderersFactory for Pillarbox.
Preconfigured TrackSelector for Pillarbox.
Playback state Player.getPlaybackState as flow.
PlayerError Player.getPlayerError as Flow.
Play when ready as flow Player.getPlayWhenReady
Run the task in the same thread as Player.getApplicationLooper if it is necessary.
Shuffle mode enabled Player.getShuffleModeEnabled as Flow.
Ticker emits event every interval when Player.isPlaying is true. Emit a value once at least once.
Get video size as flow Player.getVideoSize