Skip to content

Oadm.Sdk.Events

Events for the event rules and the rule model.

Type Description
IDynamicEventSource An event source whose types change while it runs (types the user creates, e.g.
IEventPublisher Publishes events to the server’s event rules.
IEventSource A core plugin that publishes events for the event rules implements this next to ICorePlugin and publishes through ICorePluginContext.EventPublisher.
Type Description
DeviceSelector Which devices a condition or an action applies to.
RuleAction One action of a rule: the action plugin, its targets (devices for actions that act on devices) and its settings (JSON object; password fields are never sent to clients, see RuleAction.StoredSecretFields).
RuleCondition One condition.
RuleDefinition An event rule as clients edit it (definition JSON of gRPC EventService).
RuleSchedule Weekdays plus from / to (“08:00”, “18:00”); a “to” at or before “from” runs over midnight.
Type Description
EventField A data field an event carries (“detection” = “blur”); a rule can filter on it (equals).
EventTypeInfo An event a source can publish.
Type Description
DeviceSelectorMode Which devices a condition or an action means.
EventFieldType Type of an event data field, for the condition filter of a rule.
EventKind Stateless events are one-shot pulses (“rollout failed”); stateful events are on or off (“blur detected” until it clears).
EventScope Device: one state (or pulse) per managed device.
RuleConditionKind What a condition checks.