Lyricxx_c class
TODO: 逐字歌词支持
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decodeLrcString(
String lrcStr, {bool removeEmptyLine = true, bool parseHtmlEscape = true, bool limitInfoType(String typeStr)?}) → LyricSrcEntity_c -
- 解析歌词文件 .lrc
removeEmptyLine
是否删除包含歌词时间,但内容却为空的行limitInfoType
限制需要的 info 类型,默认不传入则接收所有的 info -
encodeLrcString(
List< LyricSrcItemEntity_c> lrclist) → String -
将
lrclist
编码为 lrc 规范的字符串,以便保存回 .lrc 文件 -
formatLyricTimeStr(
double in_second) → String -
- 将
in_second
转为HH:
MM:SS.(MS/10) 时间格式字符串in_second
的单位:秒 s- 注意:
- 毫秒部分会除以10显示
- 将
-
offsetTime(
List< LyricSrcItemEntity_c> lrclist, double offset) → void -
将
lrclist
整体时间都偏移offset