ExoPlayer.PreloadConfiguration


@UnstableApi
class ExoPlayer.PreloadConfiguration


Configuration options for preloading playlist items.

Summary

Constants

const ExoPlayer.PreloadConfiguration!

Default preload configuration that disables playlist preloading.

Public constructors

PreloadConfiguration(targetPreloadDurationUs: Long)

Creates an instance.

Public properties

Long

The target duration to buffer when preloading, in microseconds or TIME_UNSET to disable preloading.

Constants

DEFAULT

const val DEFAULTExoPlayer.PreloadConfiguration!

Default preload configuration that disables playlist preloading.

Public constructors

PreloadConfiguration

PreloadConfiguration(targetPreloadDurationUs: Long)

Creates an instance.

Parameters
targetPreloadDurationUs: Long

The target duration to preload, in microseconds or TIME_UNSET to disable preloading.

Public properties

targetPreloadDurationUs

val targetPreloadDurationUsLong

The target duration to buffer when preloading, in microseconds or TIME_UNSET to disable preloading.