set

abstract fun set(id: String, localProps: Map<String, Any>)

Updates or adds local properties for a specific snippet. These properties are applied to the snippet for all active collectors.

Parameters

id

The unique identifier of the snippet.

localProps

A map of properties to associate with the snippet.