ID3FramePartOfTotal
public class ID3FramePartOfTotal : ID3Frame, Equatable, CustomDebugStringConvertible
A class used to represent an ID3 track/disc position in the original recordings frame in the ID3 tag.
-
The position of the track/disc.
Declaration
Swift
public var part: Int
-
The total number of tracks/discs in recordings.
Declaration
Swift
public var total: Int?
-
TrackPositionInSet description, useful for debug.
Declaration
Swift
public var debugDescription: String { get }
-
Init an ID3 track position frame.
Declaration
Swift
public init(part: Int, total: Int?)
Parameters
part
the index of the track/disc.
total
the total tracks/discs of the recordings.
-
Compare two TrackPositionInSet.
Declaration
Swift
public static func == (lhs: ID3FramePartOfTotal, rhs: ID3FramePartOfTotal) -> 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.