Playable
Stentor API Reference / stentor-models/src / Playable
Interface: Playable
Defined in: packages/stentor-models/src/Media/Playable.ts:5
An object that can be played.
Extended byβ
Propertiesβ
urlβ
url:
string
Defined in: packages/stentor-models/src/Media/Playable.ts:9
The URL for the playable object.
id?β
optionalid:string
Defined in: packages/stentor-models/src/Media/Playable.ts:13
An ID for the playable object.
token?β
optionaltoken:string
Defined in: packages/stentor-models/src/Media/Playable.ts:17
A token for the playable object that represents a unique playback of the track.
length?β
optionallength:number
Defined in: packages/stentor-models/src/Media/Playable.ts:23
The length of the playable object in milliseconds.
A length of -1 denotes the playable has no end.
visuals?β
optionalvisuals:Visuals
Defined in: packages/stentor-models/src/Media/Playable.ts:29
Things to show on screens if the device is capable of showing.
This is used primarily on Google for media cards.