Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Asset(var name: String = "", var data: String = "", var autoload: String = "")

A single asset belonging to a project Extension, such as a script or configuration payload to load.

Link copied to clipboard
@Serializable
class Event

Represents a collection of interactive elements that occur over a specific period.

Link copied to clipboard
typealias EventFields = HashMap<String, Any?>

A map of event custom field values keyed by field name.

Link copied to clipboard

Enum class containing all possible event states

Link copied to clipboard

Listener for Elements list and Event Fields/State changes Requires opened connection

Link copied to clipboard

Well-known keys into Project.extensions.

Link copied to clipboard
typealias Extensions = Map<String, List<Asset>>

A project's extensions, keyed by extension name, e.g. one of ExtensionNames.

Link copied to clipboard
class Project

Represents a specific Monterosa experience, acting as the main entry point for interaction.

Link copied to clipboard

A map of project custom field values keyed by locale code, then by field name.

Link copied to clipboard
@Serializable
class ProjectLocale(val locale: Locale, val isDefault: Boolean, val name: String)
Link copied to clipboard

Listener for Events list and Project Fields changes Requires opened connection