Class VdoPreCacheManager

  • All Implemented Interfaces:

    
    public final class VdoPreCacheManager
    
                        

    Manager class responsible for caching video data. This class uses a singleton pattern to manage video pre-caching.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • cacheVideo

         final Unit cacheVideo(String mediaId)

        Caches the video with the given media ID.

        Parameters:
        mediaId - The ID of the media to cache.
      • cacheVideo

         final Unit cacheVideo(String mediaId, String customPlayerId)

        Caches the video with the given media ID and optional custom player ID.

        Parameters:
        mediaId - The ID of the media to cache.
        customPlayerId - An optional custom player ID to use for caching.
      • cacheVideo

         final Unit cacheVideo(String mediaId, String customPlayerId, String languageCode)

        Caches the video with the given media ID, custom player ID, and optional language code.

        Parameters:
        mediaId - The ID of the media to cache.
        customPlayerId - An optional custom player ID to use for caching.
        languageCode - The language code to be used for playback (optional).