StorytellerClipPreloadHandle

class StorytellerClipPreloadHandle : PreFetcher

A handle for managing the preloading of clip videos and their playcard images.

This handle is returned by Storyteller.preloadClips and allows the caller to cancel ongoing preloads when they are no longer needed.

Important: You must retain a strong reference to this handle while preloading is in progress. If the handle is garbage collected, preloading will be stopped automatically. Store the handle in a ViewModel, Activity, or Fragment field to keep it alive.

See also

Functions

Link copied to clipboard

Cancels all pending preloads associated with this handle.