TrackInfo

The track information.

Signature

export interface TrackInfo

Properties

identifier: string;

The Identifier of the Track.

@type{string}
title: string;

The track title

@type{string}
author: string;

The track author..

@type{string}
length: number;

The duration of the Track.

@type{number}
artworkUrl: string | null;

The URL of the artwork if available.

@type{string | null}
uri: string;

The URL of the track.

@type{string}
isSeekable: boolean;

Whether the track is seekable.

@type{boolean}
isStream: boolean;

Whether the track is a stream.

@type{boolean}
isrc: string | null;

If ISRC code is available, it's provided.

@type{string | null}
position: number;

The position of the track.

@type{number}