VdoPreCacheManager class

A manager class responsible for handling video pre-caching requests through native code integration. This class only supports Android platform as the pre-caching API is not supported on iOS and web platforms.

Constructors

VdoPreCacheManager({required Config config})
Initializes the VdoPreCacheManager with a given Config instance.

Properties

config → Config
Configuration settings for video caching.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cacheVideo(String mediaId, {String? customPlayerId, String? languageCode}) → void
Caches a video using the specified mediaId. Optionally, a customPlayerId and languageCode can be provided to customize the pre-caching process.
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