CreateSurfaceMessage

@Serializable
data class CreateSurfaceMessage(val surfaceId: String, val catalogId: String? = null, val sendDataModel: Boolean? = null, val components: List<Component>? = null, val dataModel: JsonObject? = null, val metadata: SurfaceMetadata? = null) : AgentToRendererMessage

Creates a surface and begins rendering it.

surfaceId must be unique for the renderer's lifetime; re-creating a live surface is an error.

Constructors

Link copied to clipboard
constructor(surfaceId: String, catalogId: String? = null, sendDataModel: Boolean? = null, components: List<Component>? = null, dataModel: JsonObject? = null, metadata: SurfaceMetadata? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val dataModel: JsonObject?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard