Audios
public class Audios : NSObject
Wrapper class to manage Audio instances
-
Add a new Audio
Declaration
Swift
@objc public func add(_ mediaLabel: String, duration: Int) -> AudioParameters
mediaLabelaudio name
durationduration of the track in second
Return Value
the new Audio instance
-
Add a new Audio
Declaration
Swift
@available(*, deprecated, renamed: "add(mediaLabel:mediaTheme1:duration:﹚") @objc public func add(_ name: String, chapter1: String, duration: Int) -> AudioParameters
nameaudio name
chapter1audio first chapter
durationduration of the track in second
Return Value
the new Audio instance
-
Add a new Audio
Declaration
Swift
@objc public func add(_ mediaLabel: String, mediaTheme1: String, duration: Int) -> AudioParameters
mediaLabelaudio name
mediaTheme1audio first chapter
durationduration of the track in second
Return Value
the new Audio instance
-
Add a new Audio
Declaration
Swift
@available(*, deprecated, renamed: "add(mediaLabel:mediaTheme1:mediaTheme2:duration:﹚") @objc public func add(_ name: String, chapter1: String, chapter2: String, duration: Int) -> AudioParameters
nameaudio name
chapter1audio first chapter
chapter2audio second chapter
durationduration of the track in second
Return Value
the new Audio instance
-
Add a new Audio
Declaration
Swift
@objc public func add(_ mediaLabel: String, mediaTheme1: String, mediaTheme2: String, duration: Int) -> AudioParameters
mediaLabelaudio name
mediaTheme1audio first chapter
mediaTheme2audio second chapter
durationduration of the track in second
Return Value
the new Audio instance
-
Add a new Audio
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) -> AudioParameters
nameaudio name
chapter1audio first chapter
chapter2audio second chapter
chapter3audio third chapter
durationduration of the track in second
Return Value
the new Audio instance
-
Add a new Audio
Declaration
Swift
@objc public func add(_ mediaLabel: String, mediaTheme1: String, mediaTheme2: String, mediaTheme3: String, duration: Int) -> AudioParameters
mediaLabelaudio name
mediaTheme1audio first chapter
mediaTheme2audio second chapter
mediaTheme3audio third chapter
durationduration of the track in second
Return Value
the new Audio instance
-
Remove an audio by name
Declaration
Swift
@objc public func remove(_ mediaLabel: String)Parameters
mediaLabelaudio identified by name
-
Remove all audios
Declaration
Swift
@objc public func removeAll()
Audios Class Reference