Stay organized with collections
Save and categorize content based on your preferences.
interface Loader.ReleaseCallback
A callback to be notified when a Loader
has finished being released.
Summary
Public functions |
Unit |
Called when the Loader has finished being released.
|
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-05-15 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-05-15 UTC."],[],[],null,["# Loader.ReleaseCallback\n======================\n\nArtifact: [androidx.media3:media3-exoplayer](/jetpack/androidx/releases/media3) \n[View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/upstream/Loader.java+class:androidx.media3.exoplayer.upstream.Loader.ReleaseCallback)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/media3/exoplayer/upstream/Loader.ReleaseCallback \"View this page in Java\")\n\n\n```\ninterface Loader.ReleaseCallback\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[ChunkSampleStream](/reference/kotlin/androidx/media3/exoplayer/source/chunk/ChunkSampleStream) \n\n|-------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ChunkSampleStream](/reference/kotlin/androidx/media3/exoplayer/source/chunk/ChunkSampleStream) | A [SampleStream](/reference/kotlin/androidx/media3/exoplayer/source/SampleStream) that loads media in [Chunk](/reference/kotlin/androidx/media3/exoplayer/source/chunk/Chunk)s, obtained from a [ChunkSource](/reference/kotlin/androidx/media3/exoplayer/source/chunk/ChunkSource). |\n\n*** ** * ** ***\n\nA callback to be notified when a [Loader](/reference/kotlin/androidx/media3/exoplayer/upstream/Loader) has finished being released.\n\nSummary\n-------\n\n| ### Public functions |\n|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [onLoaderReleased](/reference/kotlin/androidx/media3/exoplayer/upstream/Loader.ReleaseCallback#onLoaderReleased())`()` Called when the [Loader](/reference/kotlin/androidx/media3/exoplayer/upstream/Loader) has finished being released. |\n\nPublic functions\n----------------\n\n### onLoaderReleased\n\n```\nfun onLoaderReleased(): Unit\n```\n\nCalled when the [Loader](/reference/kotlin/androidx/media3/exoplayer/upstream/Loader) has finished being released."]]