Modules

The Event Centre supports being initialised with a specific UI state. This is achieved by passing in a "Context Update" message object, when initialising the Event Centre.

Message Topics

All the tables below detail the data fields present in the message data objects that are sent and received for each message topic.

Handshake Failed

Dedicated topic to signify the handshake between Event Centre and your site failed to complete. This topic is emitted by the integration library, it should only be subscribed to, not emitted.

Field

Type

Description

Required

timestamp

number

unix timestamp from time of failure

Context Update

Topic for covering general UI state updates via the initialContext object, for example: navigating to a specific fight card or fight

Field

Description

view

Defines the view the event centre should load on. Possible values are:

'teams','teams-lineups','teams-formations','live','stats','stats-player','stats-match','form','form-guide','form-teams','form-leaders','form-standings','form-players','form-players-goals','form-players-shots','form-players-cards'

eventId

Event ID as defined by the DDE.

Full Event Centre

To embed the full Event Centre, you must specify the following fields specific to your build.

Field

Value

operator

Your unique operator Id name

sport

"soccer"

eventId

This is a fixture ID

version

The version of the Event Centre.

theme

default = light version

Last updated