ID32TagCommonCompositeFramesBuilder
public class ID32TagCommonCompositeFramesBuilder : ID32TagCommonStringFramesBuilder
This is another base common class of all ID3 Tag builder. ID32v2TagBuilder, ID32v3TagBuilder and ID32v4TagBuilder inherits from this class. It let the user set frames with structured content (images, multiple numbers etc.) that are in common to all the ID3 v2 tag specificiation. This class can’t be used in user code. Use of ID32v2TagBuilder, ID32v3TagBuilder and ID32v4TagBuilder classes.
-
Set the genre frame to be written by ID3TagEditor.
Declaration
Swift
public func genre(frame: ID3FrameGenre) -> Self
Parameters
frame
the genre frame as a ID3FrameGenre instance.
Return Value
the instance of the builder.
-
Set the discPosition frame to be written by ID3TagEditor.
Declaration
Swift
public func discPosition(frame: ID3FramePartOfTotal) -> Self
Parameters
frame
the discPosition frame as a ID3FramePartOfTotal instance.
Return Value
the instance of the builder.
-
Set the trackPosition frame to be written by ID3TagEditor.
Declaration
Swift
public func trackPosition(frame: ID3FramePartOfTotal) -> Self
Parameters
frame
the trackPosition frame as a ID3FramePartOfTotal instance.
Return Value
the instance of the builder.
-
Set an attachedPicture frame to be written by ID3TagEditor. You can set multiple attached picture frames per tag, one for each of the picture types contained in ID3PictureType.
Declaration
Swift
public func attachedPicture(pictureType: ID3PictureType, frame: ID3FrameAttachedPicture) -> Self
Parameters
pictureType
the ID3PictureType associated to the attachedPicture frame to be set.
frame
the attachedPicture frame as a ID3FrameAttachedPicture instance.
Return Value
the instance of the builder.
-
Set an unsynchronisedLyrics frame to be written by ID3TagEditor. You can set multiple unsynchronised lyrics frames per tag, one for each of the languages contained in ID3FrameContentLanguage.
Declaration
Swift
public func unsynchronisedLyrics(language: ID3FrameContentLanguage, frame: ID3FrameWithLocalizedContent) -> Self
Parameters
language
the ID3FrameContentLanguage associated to the unsynchronisedLyrics frame to be set.
frame
the unsynchronisedLyrics frame as a ID3FrameWithLocalizedContent instance.
Return Value
the instance of the builder.