setHostInput
Sets a named value a designed panel's fetch plan reads.
Overview
A designed panel loads its data with a fetch plan, which can read values your app supplies as {{host.<name>}}. Call
setHostInput() on the session to set one of them. A plan waits until every {{host.<name>}} it names has a value.
Syntax
fun setHostInput(name: String, value: String?)
Parameters
| Parameter | Type | Description |
|---|---|---|
name | String | The input name, the <name> in {{host.<name>}} |
value | String? | The value to set, or null to clear the input |
Example
sdk.setHostInput("eventId", currentEventId)