AbstractEvent
Describe interactive and non-interactive Events.
graph LR
AbstractEvent["AbstractEvent<span class='requires_context_and_properties'><span class='requires_context'>requires:<br />ApplicationContext<br /></span><span class='properties'>location_stack: LocationStack<br />global_contexts: GlobalContexts<br />id: uuid<br />time: integer<br /></span></span>"];
AbstractEvent --> InteractiveEvent["InteractiveEvent<span class='requires_context'>requires:<br />RootLocationContext<br />PathContext<br /></span><span class='properties'></span>"];
AbstractEvent --> NonInteractiveEvent;
InteractiveEvent --> InputChangeEvent["InputChangeEvent<span class='requires_context'>requires:<br />InputContext<br /></span><span class='properties'></span>"];
InteractiveEvent --> PressEvent["PressEvent<span class='requires_context'>requires:<br />PressableContext<br /></span><span class='properties'></span>"];
NonInteractiveEvent --> ApplicationLoadedEvent;
NonInteractiveEvent --> FailureEvent["FailureEvent<span class='properties'>message: string<br /></span>"];
NonInteractiveEvent --> HiddenEvent;
NonInteractiveEvent --> MediaEvent["MediaEvent<span class='requires_context'>requires:<br />MediaPlayerContext<br /></span><span class='properties'></span>"];
NonInteractiveEvent --> SuccessEvent["SuccessEvent<span class='properties'>message: string<br /></span>"];
NonInteractiveEvent --> VisibleEvent;
MediaEvent --> MediaLoadEvent;
MediaEvent --> MediaPauseEvent;
MediaEvent --> MediaStartEvent;
MediaEvent --> MediaStopEvent;
class AbstractEvent diagramActive
click InteractiveEvent "/docs/taxonomy/reference/events/InteractiveEvent" "See details" _self
click NonInteractiveEvent "/docs/taxonomy/reference/events/NonInteractiveEvent" "See details" _self
click InputChangeEvent "/docs/taxonomy/reference/events/InputChangeEvent" "See details" _self
click PressEvent "/docs/taxonomy/reference/events/PressEvent" "See details" _self
click ApplicationLoadedEvent "/docs/taxonomy/reference/events/ApplicationLoadedEvent" "See details" _self
click FailureEvent "/docs/taxonomy/reference/events/FailureEvent" "See details" _self
click HiddenEvent "/docs/taxonomy/reference/events/HiddenEvent" "See details" _self
click MediaEvent "/docs/taxonomy/reference/events/MediaEvent" "See details" _self
click SuccessEvent "/docs/taxonomy/reference/events/SuccessEvent" "See details" _self
click VisibleEvent "/docs/taxonomy/reference/events/VisibleEvent" "See details" _self
click MediaLoadEvent "/docs/taxonomy/reference/events/MediaLoadEvent" "See details" _self
click MediaPauseEvent "/docs/taxonomy/reference/events/MediaPauseEvent" "See details" _self
click MediaStartEvent "/docs/taxonomy/reference/events/MediaStartEvent" "See details" _self
click MediaStopEvent "/docs/taxonomy/reference/events/MediaStopEvent" "See details" _self
Requires
- ApplicationContext (a GlobalContext).
Properties
type | description | |
---|---|---|
location_stack | LocationStack | The LocationStack is an ordered list (a stack) containing a hierarchy of LocationContexts, which deterministically describes where in the UI of an application an Event took place. |
global_contexts | GlobalContexts | GlobalContexts add global/general information about the state in which an Event happened, such as a user's identity and marketing information. They do not carry information related to where the Event originated (location), which instead is captured by the LocationStack. |
id | uuid | Unique identifier for a specific instance of an event. |
time | integer | Timestamp indicating when the event was generated. |