Skip to content

ContextTrack

ContextTrack identifies a track for methods such as addToQueue and Platform.PlayerAPI.play.

type ContextTrack = {
uri: string;
uid?: string;
metadata?: Metadata;
};
PropertyTypeDescription
uristringThe track URI.
uidstring | undefinedThe ID of one entry in a list, which tells duplicate tracks apart.
metadataMetadata | undefinedTrack metadata.