ExoPlayer.PreloadConfiguration


@UnstableApi
public class ExoPlayer.PreloadConfiguration


Configuration options for preloading playlist items.

Summary

Constants

static final ExoPlayer.PreloadConfiguration

Default preload configuration that disables playlist preloading.

Public fields

final long

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

Public constructors

PreloadConfiguration(long targetPreloadDurationUs)

Creates an instance.

Constants

DEFAULT

public static final ExoPlayer.PreloadConfiguration DEFAULT

Default preload configuration that disables playlist preloading.

Public fields

targetPreloadDurationUs

public final long targetPreloadDurationUs

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

Public constructors

PreloadConfiguration

public PreloadConfiguration(long targetPreloadDurationUs)

Creates an instance.

Parameters
long targetPreloadDurationUs

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