Videos
public class Videos : NSObject
Wrapper class to manage Video instances
-
Add a new video
Declaration
Swift
@objc public func add(_ mediaLabel: String, duration: Int) -> VideoParameters
mediaLabelvideo name
durationvideo duration in seconds
Return Value
the new video instance
-
Add a new video
Declaration
Swift
@available(*, deprecated, renamed: "add(mediaLabel:mediaTheme1:duration:﹚") @objc 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
@objc public func add(_ mediaLabel: String, mediaTheme1: String, duration: Int) -> VideoParameters
mediaLabelvideo name
mediaTheme1chapter1 label
durationvideo duration in seconds
Return Value
the new video instance
-
Add a new video
Declaration
Swift
@available(*, deprecated, renamed: "add(mediaLabel:mediaTheme1:mediaTheme2:duration:﹚") @objc 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
@objc public func add(_ mediaLabel: String, mediaTheme1: String, mediaTheme2: String, duration: Int) -> VideoParameters
mediaLabelvideo name
mediaTheme1chapter1 label
mediaTheme2chapter2 label
durationvideo duration in seconds
Return Value
the new video instance
-
Add a new video
Declaration
Swift
@available(*, deprecated, renamed: "add(mediaLabel:mediaTheme1:mediaTheme2:mediaTheme3:duration:﹚") @objc 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
-
Add a new video
Declaration
Swift
@available(*, deprecated, message: "same method without first parameter named is available") @objc public func add(mediaLabel: String, mediaTheme1: String, mediaTheme2: String, mediaTheme3: String, duration: Int) -> VideoParameters
mediaLabelvideo name
mediaTheme1chapter1 label
mediaTheme2chapter2 label
mediaTheme3chapter3 label
durationvideo duration in seconds
Return Value
the new video instance
-
Add a new video
Declaration
Swift
@objc public func add(_ mediaLabel: String, mediaTheme1: String, mediaTheme2: String, mediaTheme3: String, duration: Int) -> VideoParameters
mediaLabelvideo name
mediaTheme1chapter1 label
mediaTheme2chapter2 label
mediaTheme3chapter3 label
durationvideo duration in seconds
Return Value
the new video instance
-
Remove a video
Declaration
Swift
@available(*, deprecated, renamed: "remove(mediaLabel:﹚") @objc public func remove(_ mediaLabel: String)Parameters
mediaLabelvideo name
-
Remove all videos
Declaration
Swift
@objc public func removeAll()
Videos Class Reference