Skip to main content

Module types

Module types 

Source
Expand description

Common event types and framework for Sonos UPnP events

This module provides the core event infrastructure that is service-agnostic. Service-specific event types are defined in their respective service modules.

Structs§

EnrichedEvent
An enriched event that includes context and source information
EventParserRegistry
Registry for service-specific event parsers

Enums§

EventSource
Source of an event - indicates whether it came from UPnP events or polling

Traits§

EventParser
Trait for parsing service-specific events from XML
EventParserDyn
Dynamic trait for type-erased event parsing

Functions§

extract_xml_value
Helper function to extract values from XML using basic text matching This is used as a fallback when proper parsers are not available