TrackPositionInSet
public struct TrackPositionInSet : Equatable
A struct used to represent the track position in the original recordings for the ID3 tag.
-
The position of the track.
Declaration
Swift
public var position: Int
-
The total number of tracks in recordings.
Declaration
Swift
public var totalTracks: Int?
-
Init a track position.
Declaration
Swift
public init(position: Int, totalTracks: Int?)
Parameters
position
the track position.
totalTracks
the total tracks of the recordings.
-
Compare two TrackPositionInSet.
Declaration
Swift
public static func == (lhs: TrackPositionInSet, rhs: TrackPositionInSet) -> Bool
Parameters
lhs
left side of compare operation.
rhs
right side of compare operation.
Return Value
true if the track positions values are the same, else false.