Skip to content

Track ​

Overview ​

PropertiesMethods
author
duration
identifier
isSeekable
isStream
requester
thumbnail
title
track
uri
artworkUrl
sourceName
customData

Properties ​

• author ​

The author of the track.

Type
string

• duration ​

The duration of the track.

Type
number

• identifier ​

The identifier of the track.

Type
string

• isSeekable ​

If the track is seekable.

Type
boolean

• isStream ​

If the track is a stream.

Type
boolean

• requester ​

The user that requested the track.

Type
string or null

• thumbnail ​

The thumbnail of the track or null if it's a unsupported source.

Type
string or null

• title ​

The title of the track.

Type
string

• track ​

The base64 encoded track.

Type
string

• uri ​

The uri of the track.

Type
string

• artworkUrl ​

The image of the track.

Type
string

• sourceName ​

The platform name that the track is from.

Type
string

• customData ​

Add your own data to the track.

Type
Record<string, unknown>