PlayerCacheManager
public class PlayerCacheManager : NSObject, @unchecked Sendable
Undocumented
-
Undocumented
Declaration
Swift
public static let playerCacheManagerDidUpdateCacheNotification: Notification.Name
-
Undocumented
Declaration
Swift
public static let playerCacheManagerDidFinishCacheNotification: Notification.Name
-
Undocumented
Declaration
Swift
public static let playerCacheConfigurationKey: String
-
Undocumented
Declaration
Swift
public static let playerCacheFinishedErrorKey: String
-
Undocumented
Declaration
Swift
public static var cacheDirectory: String { get set }
-
Undocumented
Declaration
Swift
public static var cacheUpdateNotifyInterval: TimeInterval { get set }
-
Undocumented
Declaration
Swift
public static func cachedFilePath(for url: URL) -> String
-
Undocumented
Declaration
Swift
public static func cacheConfiguration(for url: URL) -> PlayerCacheConfiguration
-
Undocumented
Declaration
Swift
public static func setFileNameRules(_ block: (@Sendable (URL) -> String)?)
-
Undocumented
Declaration
Swift
public static func calculateCachedSize() throws -> UInt64
-
Undocumented
Declaration
Swift
public static func cleanAllCache() throws
-
Undocumented
Declaration
Swift
public static func cleanCache(for url: URL) throws
-
Undocumented
Declaration
Swift
public static func addCacheFile(_ filePath: String, for url: URL) throws