Options
All
  • Public
  • Public/Protected
  • All
Menu

Track data received from the server. This is used internally when creating the Track class, and is not easily accessable by the user.

Hierarchy

  • TrackData

Index

Properties

Properties

Readonly info

info: { author: string; identifier: string; isStream: boolean; length: number; position: number; sourceName: string; title: string; uri: string }

Track information.

Type declaration

  • Readonly author: string

    The track's author.

  • Readonly identifier: string

    The track's identifier.

  • Readonly isStream: boolean

    If the track is a stream.

  • Readonly length: number

    The length of the track in milliseconds.

  • Readonly position: number

    The current position in the track, in milliseconds.

  • Readonly sourceName: string

    The name of the track's source.

  • Readonly title: string

    The track's title.

  • Readonly uri: string

    The track's URI.

Readonly track

track: string

The base64 encoded track.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method

Generated using TypeDoc