ID3Tag

public class ID3Tag

A class used to represent an ID3 tag.

  • The properties of the tag. The public available property to the user of the frmaework is the versions property.

    Declaration

    Swift

    public var properties: TagProperties
  • The artist of the tag.

    Declaration

    Swift

    public var artist: String?
  • Additional information about the artist of the song that contains the tag.

    Declaration

    Swift

    public var albumArtist: String?
  • The title of the song related to this tag.

    Declaration

    Swift

    public var title: String?
  • The position of the track in the original media (see TrackPositionInSet).

    Declaration

    Swift

    public var trackPosition: TrackPositionInSet?
  • The album of the tag.

    Declaration

    Swift

    public var album: String?
  • The recording datetime of the song related to this tag.

    Declaration

    Swift

    public lazy var recordingDateTime: RecordingDateTime? { get set }
  • The genre of the recording contained in the tag (see Genre).

    Declaration

    Swift

    public var genre: Genre?
  • The attached picture related to the audio file contained in the tag (see AttachedPicture).

    Declaration

    Swift

    public lazy var attachedPictures: [AttachedPicture]? { get set }
  • Init a tag.

    Declaration

    Swift

    public init(version: ID3Version,
                artist: String?,
                albumArtist: String?,
                album: String?,
                title: String?,
                recordingDateTime: RecordingDateTime?,
                genre: Genre?,
                attachedPictures: [AttachedPicture]?,
                trackPosition: TrackPositionInSet?)

    Parameters

    version

    the version of the tag.

    artist

    the artist of the tag.

    album

    the album of the tag.

    title

    the title of tag.

    recordingDateTime

    the recording time of the tag.

    genre

    the genre of the tag.

    attachedPictures

    an array of attached picture of the tag.

    trackPosition

    track position of the tag.