Videos
public class Videos: NSObject
Wrapper class to manage Video instances
-
Add a new video
Declaration
Swift
@objc public func add(_ name:String, duration: Int) -> Video -
Add a new video
Declaration
Swift
@objc public func add(_ name: String, chapter1: String, duration: Int) -> Video -
Add a new video
Declaration
Swift
@objc public func add(_ name: String, chapter1: String, chapter2: String, duration: Int) -> Video -
Add a new video
Declaration
Swift
@objc public func add(_ name: String, chapter1: String, chapter2: String, chapter3: String, duration: Int) -> Video -
Remove a video
Declaration
Swift
@objc public func remove(_ name: String) -
Remove all videos
Declaration
Swift
@objc public func removeAll()
Videos Class Reference