VKVideoLooper
public class VKVideoLooper : NSObject, VKVideoLooperProtocol
Repeats a set of videos forever (ideally for use in a background view).
-
Declaration
Swift
public var isPlaying: Bool
-
Declaration
Swift
required public init(assets: [AVAsset])
-
Declaration
Swift
public func start(in layer: CALayer) -
Declaration
Swift
public func setAssets(assets: [AVAsset]) -
Declaration
Swift
public func stop() -
Declaration
Swift
public func toggle() -
Declaration
Swift
public func play() -
Declaration
Swift
public func pause()
-
Declaration
Swift
public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
VKVideoLooper Class Reference