Skip to main content

PlayableHistoryData

Stentor API Reference


Stentor API Reference / stentor-models/src / PlayableHistoryData

Interface: PlayableHistoryData

Defined in: packages/stentor-models/src/History.ts:20

Historical data for a user's previous listening.

Properties​

currentTime​

currentTime: number

Defined in: packages/stentor-models/src/History.ts:26

The time into playback, in milliseconds, the users is for the current playable.

It is undefined if the playable hasn't started and -1 if it finished playback.


lastPlayed​

lastPlayed: number

Defined in: packages/stentor-models/src/History.ts:30

The UNIX timestamp for the last time the item was played.