Class: Id3v2SynchronizedLyricsFrame
March 10, 2023 · View on GitHub
node-taglib-sharp / Exports / Id3v2SynchronizedLyricsFrame
Class: Id3v2SynchronizedLyricsFrame
This structure contains a single entry in a SynchronizedLyricsFrame object.
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new Id3v2SynchronizedLyricsFrame(time, text)
Constructs and initializes a new instance with a specified time and text.
Parameters
| Name | Type | Description |
|---|---|---|
time | number | Offset into the media that owns this element when this element should be displayed. See TimestampFormat for possible values. |
text | string | Text for the point in time |
Properties
text
• text: string
Text for the point in time represented by the current instance.
Accessors
time
• get time(): number
Gets time offset of the current instance. The specific format this text element is defined in SynchronizedLyricsFrame.format of the frame that owns this element.
Returns
number
• set time(value): void
Sets time offset of the current instance. The specific format this text element is defined in SynchronizedLyricsFrame.format of the frame that owns this element.
Parameters
| Name | Type | Description |
|---|---|---|
value | number | Offset of the current instance, must be a safe |
Returns
void
Methods
clone
▸ clone(): Id3v2SynchronizedLyricsFrame
Creates a copy of this instance.
Returns
render
▸ render(encoding): ByteVector
Generates a raw byte representation of the frame for writing to a file.
Parameters
| Name | Type | Description |
|---|---|---|
encoding | StringType | Encoding to use for encoding the text of the frame. |