ID3TagContentReader
public class ID3TagContentReader
Class that “makes your life easier” when it comes to read data from the ID3 tag.
Create an instance of this class by passing to it a ID3Tag
instance
(obtained from the read methods of ID3TagEditor
).
In this way you will now have access to all the data contained in the ID3 tag by using the methods of this class.
-
Init the ID3TagContentReader.
Declaration
Swift
public init(id3Tag: ID3Tag)
Parameters
id3Tag
the tag to be read.
-
Read the title frame content.
Declaration
Swift
public func title() -> String?
Return Value
the title, or null.
-
Read the album frame content.
Declaration
Swift
public func album() -> String?
Return Value
the album, or null.
-
Read the album artist frame content.
Declaration
Swift
public func albumArtist() -> String?
Return Value
the album artist, or null.
-
Read the artist frame content.
Declaration
Swift
public func artist() -> String?
Return Value
the artist, or null.
-
Read the composer frame content.
Declaration
Swift
public func composer() -> String?
Return Value
the composer, or null.
-
Read the conductor frame content.
Declaration
Swift
public func conductor() -> String?
Return Value
the conductor, or null.
-
Read the content grouping frame content.
Declaration
Swift
public func contentGrouping() -> String?
Return Value
the content grouping, or null.
-
Read the copyright frame content.
Declaration
Swift
public func copyright() -> String?
Return Value
the copyright, or null.
-
Read the encoded by frame content.
Declaration
Swift
public func encodedBy() -> String?
Return Value
the encoded by, or null.
-
Read the encoder settings frame content.
Declaration
Swift
public func encoderSettings() -> String?
Return Value
the encoder settings, or null.
-
Read the lyricist frame content.
Declaration
Swift
public func lyricist() -> String?
Return Value
the lyricist, or null.
-
Read the mix artist frame content.
Declaration
Swift
public func mixArtist() -> String?
Return Value
the mix artist, or null.
-
Read the publisher frame content.
Declaration
Swift
public func publisher() -> String?
Return Value
the publisher, or null.
-
Read the subtitle frame content.
Declaration
Swift
public func subtitle() -> String?
Return Value
the subtitle, or null.
-
Read the beats per minute frame content.
Declaration
Swift
public func beatsPerMinute() -> Int?
Return Value
the beats per minute, or null.
-
Read the original filename frame content.
Declaration
Swift
public func originalFilename() -> String?
Return Value
the original filename, or null.
-
Read the lenght in milliseconds frame content.
Declaration
Swift
public func lengthInMilliseconds() -> Int?
Return Value
the lenght in milliseconds, or null.
-
Read the size in bytes frame content.
Declaration
Swift
public func sizeInBytes() -> Int?
Return Value
the size in bytes, or null.
-
Read the disc position frame content.
Declaration
Swift
public func discPosition() -> PartOfTotal?
Return Value
the disc position as
PartOfTotal
, or null. -
Read the track position frame content.
Declaration
Swift
public func trackPosition() -> PartOfTotal?
Return Value
the track position as
PartOfTotal
, or null. -
Read the recording year frame content.
Declaration
Swift
public func recordingYear() -> Int?
Return Value
the recording year, or null.
-
Read the recording hour minute frame content.
Declaration
Swift
public func recordingHourMinute() -> HourMinute?
Return Value
the recording hour minute as
HourMinute
, or null. -
Read the attached pictues frames content.
Declaration
Swift
public func attachedPictures() -> [AttachedPicture]
Return Value
the attached picture list as
[AttachedPicture]
, or null. -
Read the unsynchronized lyrics frames content.
Declaration
Swift
public func unsynchronizedLyrics() -> [LocalizedContent]
Return Value
the unsynchronized lyric list as
[LocalizedContent]
, or null. -
Read the comment frames content.
Declaration
Swift
public func comments() -> [LocalizedContent]
Return Value
the comment list as
[LocalizedContent]
, or null. -
Read the file owner frame content.
Declaration
Swift
public func fileOwner() -> String?
Return Value
the file owner minute as
String
, or null. -
Read the itunes grouping frame content.
Declaration
Swift
public func iTunesGrouping() -> String?
Return Value
the itunes grouping as
String
, or null. -
Read the itunes movement name frame content.
Declaration
Swift
public func iTunesMovementName() -> String?
Return Value
the itunes movement name as
String
, or null. -
Read the itunes movement index frame content.
Declaration
Swift
public func iTunesMovementIndex() -> Int?
Return Value
the itunes movement index as
String
, or null. -
Read the itunes movement count frame content.
Declaration
Swift
public func iTunesMovementCount() -> Int?
Return Value
the itunes movement count as
String
, or null. -
Read the itunes podcast category frame content.
Declaration
Swift
public func iTunesPodcastCategory() -> String?
Return Value
the itunes podcast category as
String
, or null. -
Read the itunes podcast description frame content.
Declaration
Swift
public func iTunesPodcastDescription() -> String?
Return Value
the itunes podcast description as
String
, or null. -
Read the itunes podcast id frame content.
Declaration
Swift
public func iTunesPodcastID() -> String?
Return Value
the itunes podcast id as
String
, or null. -
Read the itunes podcast keywords frame content.
Declaration
Swift
public func iTunesPodcastKeywords() -> String?
Return Value
the itunes podcast keywords as
String
, or null.