Class: TagLib::ID3v2::Frame

Inherits:
Header
  • Object
show all
Defined in:
lib/TagLib_doc.rb

Overview

ID3v2 frame implementation. .

ID3v2 frame header implementation.This class is the main ID3v2 frame implementation. In ID3v2, a tag is split between a collection of frames (which are in turn split into fields (Structure, 4) (Frames). This class provides an API for gathering information about and modifying ID3v2 frames. Funtionallity specific to a given frame type is handed in one of the many subclasses.The ID3v2 Frame Header (Structure, 4)Every ID3v2::Frame has an associated header that gives some general properties of the frame and also makes it possible to identify the frame type.As such when reading an ID3v2 tag ID3v2::FrameFactory first creates the frame headers and then creates the appropriate Frame subclass based on the type and attaches the header.

Direct Known Subclasses

AttachedPictureFrame, CommentsFrame

Instance Method Summary collapse

Instance Method Details

#frameIDObject

Returns the Frame ID (Structure, 4) (Frames, 4)



2510
2511
# File 'lib/TagLib_doc.rb', line 2510

def frameID()
end

#sizeObject

Returns the size of the frame.



2515
2516
# File 'lib/TagLib_doc.rb', line 2515

def size()
end