AnalyticDataType
AnalyticDataType ⇐ Const
Kind: global class
Extends: Const
AnalyticDataType()
Enumeration of analytic data type
ERROR
Data relative to an error
Kind: static constant of AnalyticDataType
| Param | Type |
|---|---|
| data | ServiceError |
CURRENTLY_WATCHING
Data relative to currently watching media
Kind: static constant of AnalyticDataType
| Param | Type | Description |
|---|---|---|
| data | Object | |
| data.media | Source | [MANDATORY] Currently watching media |
| data.advert | Advertisement | Currently playing advert if logging for an advert |
| data.context | AnalyticDataContext | Currently playing context (module id or live action (see LIVE_ACTION_* const)) |
| data.action | String | Currently playing action (values: loading, playing, playasset, error, alive, tracking, stopped, ended) |
| data.speed | Number | Currently playing speed |
| data.position | Number | Currently playing position (ms) |
| data.status | String | Currently playing status (values: OK, KO) |
CHANGE_ROUTE
When a route has been changed
Kind: static constant of AnalyticDataType
| Param | Type | Description |
|---|---|---|
| data | Object | |
| data.routeName | String | Name of the route |
| data.previousRouteName | string | Name of the previous route |