Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Track

Index

Constructors

constructor

Properties

Readonly author

author: string

The track's author.

Readonly identifier

identifier: string

The track's identifier.

Readonly isSeekable

isSeekable: boolean

If the track is seekable.

Readonly isStream

isStream: boolean

If the track is a stream.

Readonly length

length: number

The length of the track in milliseconds.

Readonly position

position: number

The current position in the track, in milliseconds.

Readonly requester

requester: string

Readonly sourceName

sourceName: string

The name of the track's source.

Readonly title

title: string

The track's title.

Readonly track

track: string

The track encoded into base64.

Readonly uri

uri: string

The track's URI.

Methods

thumbnail

  • Get the track's thumbnail. This is only supported by tracks with sourceName = 'youtube'.

    Parameters

    Returns undefined | string

    The track's thumbnail, if available.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method

Generated using TypeDoc