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
| Parameter | Type | Description |
|---|---|---|
data | CustomPanelData | Custom 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
Related Methods
- configure() - Initial SDK configuration
- onEventDataUpdated() - Update event data