UFC EC 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.
Modularisation
The UFC Event Centre supports being initialised in 7 different modular configurations. This is done by providing the module name within the "targetModule" field.
Module name
Description
full
Access to the full UFC Event Centre
fight
single fight
fightCard
Only displays the fightcard - allows no navigation
striking
Only displays the striking view - allows no navigation
stats
Only displays the stats view - allows no navigation
matchup
Only displays the matchup view - allows no navigation
tape
Only displays the tape view - allows no navigation
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 fightcard / Fight / striking / stats / tape / matchup
eventId
Event ID as defined by the DDE.
fightId
Fight ID as defined by DDE. Available for view = fight/ striking / stats / tape / matchup
Full Fight Card
To embed the full UFC Event Centre, you must specify the following fields specific to your build.
Field
Value
operator
your unique operator Id name
sport
"ufc"
eventId
Event Id of the fight card
version
The version of UFC Event Centre.
theme
default = light version
"light" = light version
"dark" = dark version
'targetModule' specifies whether the app should display the full fight card, single fight, fightcard, striking, matchup, stats or tape.
'eventId' refers to the UFC fightcard/event that you wish to display.
Last updated