Skip to main content

Reportable

Stentor API Reference


Stentor API Reference / stentor-models/src / Reportable

Interface: Reportable

Defined in: packages/stentor-models/src/Media/Reportable.ts:8

A playable whose playback can be reported to a third party.

Extends​

Extended by​

Properties​

url​

url: string

Defined in: packages/stentor-models/src/Media/Playable.ts:9

The URL for the playable object.

Inherited from​

Playable.url


id?​

optional id: string

Defined in: packages/stentor-models/src/Media/Playable.ts:13

An ID for the playable object.

Inherited from​

Playable.id


token?​

optional token: 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.

Inherited from​

Playable.token


length?​

optional length: 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.

Inherited from​

Playable.length


visuals?​

optional visuals: 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.

Inherited from​

Playable.visuals


playedId?​

optional playedId: string

Defined in: packages/stentor-models/src/Media/Reportable.ts:12

An ID representing a playback of the playable.