VKVideoCache
@objc
public class VKVideoCache : NSObject
-
Declaration
Swift
@objc public static let shared: VKVideoCache
-
Declaration
Swift
public var cache: [String : VKVideo]
-
Declaration
Swift
@objc open func didReceiveMemoryWarning()
-
Declaration
Swift
@objc public func getVideo(_ id: String, _ completion: @escaping (VKVideo?, Error?) -> Void) -> VKCancellable?
-
Declaration
Swift
@objc public func getVideos(_ ids: [String], _ completion: @escaping ([VKVideo]) -> Void) -> VKCancellable?
-
Declaration
Swift
@objc public func getCachedVideo(_ id: String) -> VKVideo?
-
Declaration
Swift
@objc public func getCachedVideos(_ ids: [String]) -> [VKVideo]
-
Declaration
Swift
@objc public func putVideoToCache(video: VKVideo)
-
Declaration
Swift
@objc public func putVideosToCache(videos: [VKVideo])