Videos
public class Videos: NSObject
Wrapper class to manage Video instances
-
Add a new video
Declaration
Swift
public func add(_ name:String, duration: Int) -> VideoParameters
namevideo name
durationvideo duration in seconds
Return Value
the new video instance
-
Add a new video
Declaration
Swift
public func add(_ name: String, chapter1: String, duration: Int) -> VideoParameters
namevideo name
chapter1chapter1 label
durationvideo duration in seconds
Return Value
the new video instance
-
Add a new video
Declaration
Swift
public func add(_ name: String, chapter1: String, chapter2: String, duration: Int) -> VideoParameters
namevideo name
chapter1chapter1 label
chapter2chapter2 label
durationvideo duration in seconds
Return Value
the new video instance
-
Add a new video
Declaration
Swift
public func add(_ name: String, chapter1: String, chapter2: String, chapter3: String, duration: Int) -> VideoParameters
namevideo name
chapter1chapter1 label
chapter2chapter2 label
chapter3chapter3 label
durationvideo duration in seconds
Return Value
the new video instance
-
Remove a video
Declaration
Swift
public func remove(_ name: String)Parameters
namevideo name
-
Remove all videos
Declaration
Swift
public func removeAll()
Videos Class Reference