SoundTrack
class SoundTrack
A sound track contains a sound and timing informating dictating when to play it.
-
The soundTrack’s unique identifier.
Declaration
var id: String { get }
-
The soundTrack’s sound.
Declaration
var sound: Sound { get }
-
The delay in seconds between the start of the timeline and the start of the sound.
Declaration
var startTime: Double { get }
-
The delay in seconds between the start of the timeline and the end of the sound.
Declaration
var endTime: Double { get }
-
The object’s description
Declaration
var description: String { get }
-
Compares two values for equality.
The
equals
function is invoked using infix notation as in the following code snippet:lhs == rhs
.Declaration
func equals(_ lhs: SoundTrack) -> Bool
Parameters
lhsA value.
rhsAnother value.
Return Value
true
if thelhs
andrhs
are equal,false
otherwise.