Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
Classes
Exceptions
Annotations
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["androidx.media3.exoplayer.source.preload\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/media3/exoplayer/source/preload/package-summary \"View this page in Java\")\n\nInterfaces \n\n|-----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| [PreCacheHelper.Listener](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreCacheHelper.Listener) | A listener for [PreCacheHelper](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreCacheHelper) events. |\n| [PreloadManagerListener](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreloadManagerListener) | Listener for events in a preload manager. |\n| [PreloadMediaSource.PreloadControl](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreloadMediaSource.PreloadControl) | Controls preloading of [PreloadMediaSource](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreloadMediaSource). |\n| [TargetPreloadStatusControl](/reference/kotlin/androidx/media3/exoplayer/source/preload/TargetPreloadStatusControl) | Controls the target preload status. |\n\nClasses \n\n|---------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BasePreloadManager](/reference/kotlin/androidx/media3/exoplayer/source/preload/BasePreloadManager) | A base implementation of a preload manager, which maintains the lifecycle of [media sources](/reference/kotlin/androidx/media3/exoplayer/source/MediaSource). |\n| [BasePreloadManager.BuilderBase](/reference/kotlin/androidx/media3/exoplayer/source/preload/BasePreloadManager.BuilderBase) | A base class of the builder of the concrete extension of [BasePreloadManager](/reference/kotlin/androidx/media3/exoplayer/source/preload/BasePreloadManager). |\n| [DefaultPreloadManager](/reference/kotlin/androidx/media3/exoplayer/source/preload/DefaultPreloadManager) | A preload manager that preloads with the [PreloadMediaSource](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreloadMediaSource) to load the media data into the [SampleQueue](/reference/kotlin/androidx/media3/exoplayer/source/SampleQueue). |\n| [DefaultPreloadManager.Builder](/reference/kotlin/androidx/media3/exoplayer/source/preload/DefaultPreloadManager.Builder) | A builder for [DefaultPreloadManager](/reference/kotlin/androidx/media3/exoplayer/source/preload/DefaultPreloadManager) instances. |\n| [DefaultPreloadManager.PreloadStatus](/reference/kotlin/androidx/media3/exoplayer/source/preload/DefaultPreloadManager.PreloadStatus) | Defines the preload status for the [DefaultPreloadManager](/reference/kotlin/androidx/media3/exoplayer/source/preload/DefaultPreloadManager). |\n| [PreCacheHelper](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreCacheHelper) | A helper for pre-caching a single media. |\n| [PreCacheHelper.Factory](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreCacheHelper.Factory) | A factory for [PreCacheHelper](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreCacheHelper). |\n| [PreloadMediaSource](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreloadMediaSource) | Preloads a [MediaSource](/reference/kotlin/androidx/media3/exoplayer/source/MediaSource) and provides a [MediaPeriod](/reference/kotlin/androidx/media3/exoplayer/source/MediaPeriod) that has data loaded before playback. |\n| [PreloadMediaSource.Factory](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreloadMediaSource.Factory) | Factory for [PreloadMediaSource](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreloadMediaSource). |\n\nExceptions \n\n|-------------------------------------------------------------------------------------------------|-------------------------------------------------------|\n| [PreloadException](/reference/kotlin/androidx/media3/exoplayer/source/preload/PreloadException) | Thrown when a non-recoverable preload failure occurs. |\n\nAnnotations \n\n|---------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|\n| [DefaultPreloadManager.PreloadStatus.Stage](/reference/kotlin/androidx/media3/exoplayer/source/preload/DefaultPreloadManager.PreloadStatus.Stage) | Stages for the preload status. |"]]