ID3FrameTrackPosition

public class ID3FrameTrackPosition : ID3Frame, Equatable, CustomDebugStringConvertible

A class used to represent an ID3 track position in the original recordings frame in 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?
  • TrackPositionInSet description, useful for debug.

    Declaration

    Swift

    public var debugDescription: String { get }
  • Init an ID3 track position frame.

    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: ID3FrameTrackPosition, rhs: ID3FrameTrackPosition) -> 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.