CachedVideoControllerService class

An implementation of VideoControllerService that supports video caching.

This service uses a BaseCacheManager to store and retrieve videos, improving performance by reducing network requests for previously viewed videos.

Inheritance

Constructors

CachedVideoControllerService.new(BaseCacheManager _cacheManager)
Creates a new CachedVideoControllerService with the provided cache manager.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getControllerForVideo(VideoModel videoModel, bool isCaching) Future<VideoPlayerController>
Gets a VideoPlayerController for a given video model.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited