AudioPlayerBuilder
Functions
Sets custom headers used by Player's data source when making HTTP requests. By default it is null.
SetsDecoderConfiguration to configure Player's decoder.
Enables SecurityPolicy.SecurityChecks.
Indicates whether the media session should be excluded from creation. By default, QP Player is pre-integrated with MediaSession to ensure compliance with system media controls and voice control features like Google Assistant.
This flag should be set if the auto head unit creates QPPlayer and listen to its event to use the Bookmark, Heartbeat capabilities.
Sets initial MediaPlaylistItem. Additional MediaPlaylistItems can be added using Player's MediaPlaylistControllable API.
Sets collection of MediaPlaylistItems used for sequential playback with optional PlaylistPreloadConfiguration. When the PlaylistPreloadConfiguration.preloadingDurationMs is specified and greater than DEFAULT_LONG_VAL
the player tries to preload preloadingDurationMs
e.g. five seconds of media for the next item in the playlist. Note that if you decide not to provide the PlaylistPreloadConfiguration instance the playlist media preloading is disabled. For convenience, PlaylistPreloadConfiguration provides default values for the configuration properties.
Configures the NetworkStack to be used for the playback. Default value is NetworkStack.BUILT_IN.
Configures PlaybackProperties to apply for playback customization/optimization.
Sets PlayerNotificationProperties to control how lock screen notifications should look like.
Sets the surface to render the video into.
Sets the view to render the video into.
Enables/disables repeated playback when stream reaches the end.
Set the seeking behaviour of the player.