pub enum Service {
AVTransport,
RenderingControl,
GroupRenderingControl,
ZoneGroupTopology,
GroupManagement,
}Expand description
Represents the different UPnP services exposed by Sonos devices
Each service provides a specific set of operations for controlling different aspects of the Sonos device functionality.
Variants§
AVTransport
AVTransport service - Controls playback (play, pause, stop, seek, etc.)
RenderingControl
RenderingControl service - Controls audio rendering (volume, mute, etc.)
GroupRenderingControl
GroupRenderingControl service - Controls group-wide audio settings
ZoneGroupTopology
ZoneGroupTopology service - Manages speaker grouping and topology
GroupManagement
GroupManagement service - Manages speaker group membership operations
Implementations§
Source§impl Service
impl Service
Sourcepub fn info(&self) -> ServiceInfo
pub fn info(&self) -> ServiceInfo
Get the service information (endpoint and URI) for this service
§Returns
A ServiceInfo struct containing the endpoint path, service URI, and event endpoint
Sourcepub fn scope(&self) -> ServiceScope
pub fn scope(&self) -> ServiceScope
Get the subscription scope for this service
§Returns
A ServiceScope indicating whether this service should have per-speaker,
per-network, or per-coordinator subscriptions