Class: TagLib::ID3v2::GeneralEncapsulatedObjectFrame

Inherits:
Frame
  • Object
show all
Defined in:
docs/taglib/id3v2.rb

Overview

General encapsulated object frame (GEOB).

Instance Attribute Summary collapse

Attributes inherited from Frame

#frame_id

Method Summary

Methods inherited from Frame

#to_string

Instance Attribute Details

#descriptionString

Returns content description.

Returns:

  • (String)

    content description



176
177
178
# File 'docs/taglib/id3v2.rb', line 176

def description
  @description
end

#file_nameString

Returns file name.

Returns:

  • (String)

    file name



179
180
181
# File 'docs/taglib/id3v2.rb', line 179

def file_name
  @file_name
end

#mime_typeString

Returns MIME type.

Returns:

  • (String)

    MIME type



182
183
184
# File 'docs/taglib/id3v2.rb', line 182

def mime_type
  @mime_type
end

#objectbinary String

Binary data string.

Be sure to use a binary string when setting this attribute. In Ruby 1.9, this means reading from a file with "b" mode to get a string with encoding BINARY / ASCII-8BIT.

Returns:

  • (binary String)


191
192
193
# File 'docs/taglib/id3v2.rb', line 191

def object
  @object
end

#text_encodingString

Encoding for storing the text in the tag, e.g. TagLib::String::UTF8. See the section String Encodings in TagLib.

Returns:

  • (String)


196
197
198
# File 'docs/taglib/id3v2.rb', line 196

def text_encoding
  @text_encoding
end