PlayerCacheConfiguration
public class PlayerCacheConfiguration : NSObject, NSCopying, NSSecureCoding, @unchecked Sendable
Undocumented
-
Undocumented
Declaration
Swift
public private(set) var filePath: String { get }
-
Undocumented
Declaration
Swift
public var contentInfo: PlayerCacheContentInfo?
-
Undocumented
Declaration
Swift
public var url: URL?
-
Undocumented
Declaration
Swift
public var cacheFragments: [NSValue] { get }
-
Undocumented
Declaration
Swift
public var progress: Float { get }
-
Undocumented
Declaration
Swift
public var downloadedBytes: Int64 { get }
-
Undocumented
Declaration
Swift
public var downloadSpeed: Float { get }
-
Undocumented
Declaration
Swift
public static func configuration(filePath: String) -> PlayerCacheConfiguration
-
Undocumented
Declaration
Swift
public static func configurationFilePath(for filePath: String) -> String
-
Undocumented
Declaration
Swift
public static func createAndSaveDownloadedConfiguration(for url: URL) throws
-
Undocumented
Declaration
Swift
override public required init()
-
Undocumented
Declaration
Swift
public static var supportsSecureCoding: Bool { get }
-
Undocumented
Declaration
Swift
public required init?(coder: NSCoder)
-
Undocumented
Declaration
Swift
public func encode(with coder: NSCoder)
-
Undocumented
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> Any
-
Undocumented
Declaration
Swift
public func save()
-
Undocumented
Declaration
Swift
public func addCacheFragment(_ fragment: NSRange)
-
Undocumented
Declaration
Swift
public func addDownloadedBytes(bytes: Int64, spent time: TimeInterval)