Music
- React Native
更新时间
音乐资源的详细信息。
export class Music {
songCode?: number;
name?: string;
singer?: string;
poster?: string;
releaseTime?: string;
durationS?: number;
type?: number;
pitchType?: number;
lyricCount?: number;
lyricList?: number[];
climaxSegmentCount?: number;
climaxSegmentList?: ClimaxSegment[];
}属性
| 参数名 | 描述 |
|---|---|
songCode | 音乐资源的编号,用于标识一个音乐资源。 |
name | 音乐资源名称。 |
singer | 歌手名。 |
poster | 音乐资源海报的下载地址。 |
releaseTime | 音乐资源发布的时间。 |
type | 音乐资源类型:
|
pitchType | 歌曲是否支持演唱评分功能:
|
durationS | 音乐资源总时长 (秒)。 |
lyricList | 支持的歌词类型:
|
climaxSegmentList | 音乐高潮片段列表,详见 ClimaxSegment。 |
lyricCount | 歌曲的歌词数量。 |
climaxSegmentCount | 高潮片段的数量。 |