MilanoOccurrence

data class MilanoOccurrence(val kind: MilanoOccurrence.Kind, val viewIdentity: String, val node: String?, val name: String? = null, val expected: String? = null, val found: String? = null)

One reported occurrence, delivered to the engine observer, tagged with the originating view. Kinds are the closed union defined by the runtime API spec.

Constructors

Link copied to clipboard
constructor(kind: MilanoOccurrence.Kind, viewIdentity: String, node: String?, name: String? = null, expected: String? = null, found: String? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val expected: String? = null

Detail in the gate's own terms, when it applies: the declared type or shape that was expected, and the kind that arrived (or "missing").

Link copied to clipboard
val found: String? = null
Link copied to clipboard
Link copied to clipboard
val name: String? = null

What the occurrence is about, when one thing is: the event, action, property, component type, or context key involved.

Link copied to clipboard
val node: String?

The node's id or canonical path, when one applies.

Link copied to clipboard

Stable identity of the originating view, plus the builder's label when set.