Audios
public class Audios: NSObject
Wrapper class to manage Audio instances
-
Add a new Audio
Declaration
Swift
public func add(_ name:String, duration: Int) -> AudioParameters
nameaudio name
durationduration of the track in second
Return Value
the new Audio instance
-
Add a new Audio
Declaration
Swift
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
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
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
-
Remove an audio by name
Declaration
Swift
public func remove(_ name: String)Parameters
nameaudio identified by name
-
Remove all audios
Declaration
Swift
public func removeAll()
Audios Class Reference