Skip to main content

setDataToPanel

Set custom data to a panel - mostly for debugging/testing purposes.

Overview

Call this method to set custom data overrides to a panel. This is primarily intended for debugging and testing purposes.

Method Signature

fun setDataToPanel(data: CustomPanelData)

Parameters

ParameterTypeDescription
dataCustomPanelDataCustom data to set on the panel

Return Value

This method does not return a value.

Example

// Set custom data to a panel for testing
fun setTestData() {
val customData = CustomPanelData(
// Custom panel data properties
)
sdk.setDataToPanel(customData)
}

Notes

  • This method is primarily for debugging and testing purposes
  • Use this to override panel data during development