- 
                  
                  The identifier of the task. DeclarationSwift var id: String { get }
- 
                  
                  The current CachingTaskStatus.DeclarationSwift var status: CachingTaskStatus { get }
- 
                  
                  The SourceDescriptionprocessed by this caching task.DeclarationSwift var source: SourceDescription { get }
- 
                  
                  The CachingParametersfor this caching task.Remark These parameters cannot be modified after creating a task. Instead, a new task should be created with different parameters.DeclarationSwift var parameters: CachingParameters { get }
- 
                  
                  The amount of content that will be available after this task has finished, in seconds. DeclarationSwift var duration: Double { get }
- 
                  
                  The amount of content that has already been cached, in seconds. DeclarationSwift var secondsCached: Double { get }
- 
                  
                  The percentage of content that has already been cached, between 0 and 1. DeclarationSwift var percentageCached: Double { get }
- 
                  
                  The amount of bytes that have already been cached. DeclarationSwift var bytesCached: UInt { get }
- 
                  
                  Starts downloading the stream and stores it on the device. Remark An element will only be cached if it is not yet present in the cache.DeclarationSwift func start()
- 
                  
                  Removes the task and tries to evict all associated streaming elements. Remark An element referenced by multiple tasks will only be evicted if all associated tasks are removed.DeclarationSwift func remove()
- 
                  
                  Pauses downloading the stream. Remark - The cachingtask can be resumed later on through the use of the start()method.
- This how-to-guide explains how to save the progress of a task and what the limitations are: https://docs.theoplayer.com/how-to-guides/07-miscellaneous/10-saving-cachingtask-progress-ios.md
 DeclarationSwift func pause()
- The cachingtask can be resumed later on through the use of the 
- 
                  
                  A controller for license related queries and operations. DeclarationSwift var license: CachingTaskLicense { get }
- 
                  
                  Adds the event listener of the given EventType.Remark When attaching a listener on the wrong object, the application will crash. DeclarationSwift func addEventListener<E>(type: EventType<E>, listener: @escaping (E) -> ()) -> EventListener where E : EventProtocolParameterstypeEventTypeof the added event listener. SeeCachingTaskEventTypesfor possible values.listenerClosure called when event is dispatched. Return ValueThe newly added EventListener.
- 
                  
                  Removes the event listener of the given CachingTaskEventType. DeclarationSwift func removeEventListener<E>(type: EventType<E>, listener: EventListener) where E : EventProtocolParameterstypeEventTypeof the event listener to be removed. SeeCachingTaskEventTypesfor possible values.listenerEventListenerwhich was added byaddEventListener(...)
