Package 

Interface Cache

  • All Implemented Interfaces:
    com.theoplayer.android.api.event.EventDispatcher

    
    public interface Cache
     implements EventDispatcher<CacheEvent>
                        

    The media caching API.

    • 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
    • Method Summary

      Modifier and Type Method Description
      abstract CacheStatus getStatus() The current status of the cache.
      abstract CachingTaskList getTasks() List of caching tasks which control the caching of media.
      abstract CachingTask createTask(@NonNull() SourceDescription source, @Nullable() CachingParameters parameters) Creates a caching task which controls the caching of the media.
      • Methods inherited from class com.theoplayer.android.api.event.EventDispatcher

        addEventListener, removeEventListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait