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


274
275
276
# File 'docs/taglib/id3v2.rb', line 274

def description
  @description
end

#file_nameString

Returns file name

Returns:

  • (String)

    file name


277
278
279
# File 'docs/taglib/id3v2.rb', line 277

def file_name
  @file_name
end

#mime_typeString

Returns MIME type

Returns:

  • (String)

    MIME type


280
281
282
# File 'docs/taglib/id3v2.rb', line 280

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)

289
290
291
# File 'docs/taglib/id3v2.rb', line 289

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)

294
295
296
# File 'docs/taglib/id3v2.rb', line 294

def text_encoding
  @text_encoding
end