Skip to main content

onEventDataUpdated

Fetches the panel config for the current events.

Overview​

Call onEventDataUpdated() on the session whenever the playing event changes, so the SDK fetches that event's panel config. The pageId from CoreSDKParameters stays in place. Passing an empty list clears the current events.

Syntax​

fun onEventDataUpdated(metadataValues: List<String>)

Parameters​

ParameterTypeDescription
metadataValuesList<String>Identifiers of the events now playing. An empty list clears them.

Example​

sdk.onEventDataUpdated(metadataValues = listOf(newEventId))