Skip to main content

Module operations

Module operations 

Source
Expand description

GroupRenderingControl service operations

This module provides operations for controlling group-wide audio rendering settings on Sonos speaker groups. All operations should be sent to the group coordinator only.

§Operations

  • get_group_volume - Get the current group volume level
  • set_group_volume - Set the group volume level (0-100)
  • set_relative_group_volume - Adjust group volume relatively (-100 to +100)
  • get_group_mute - Get the current group mute state
  • set_group_mute - Set the group mute state
  • snapshot_group_volume - Snapshot volume ratios for proportional changes

Re-exports§

pub use get_group_volume_operation as get_group_volume;
pub use set_group_volume_operation as set_group_volume;
pub use set_relative_group_volume_operation as set_relative_group_volume;
pub use get_group_mute_operation as get_group_mute;
pub use set_group_mute_operation as set_group_mute;
pub use snapshot_group_volume_operation as snapshot_group_volume;

Structs§

GetGroupMuteOperation
GetGroupMuteOperationRequest
GetGroupMuteResponse
GetGroupVolumeOperation
GetGroupVolumeOperationRequest
GetGroupVolumeResponse
SetGroupMuteOperation
SetGroupMuteOperationRequest
SetGroupMuteOperationResponse
SetGroupVolumeOperation
SetGroupVolumeOperationRequest
SetGroupVolumeOperationResponse
SetRelativeGroupVolumeOperation
SetRelativeGroupVolumeOperationRequest
SetRelativeGroupVolumeResponse
SnapshotGroupVolumeOperation
SnapshotGroupVolumeOperationRequest
SnapshotGroupVolumeOperationResponse

Constants§

SERVICE
Service identifier for GroupRenderingControl

Functions§

get_group_mute_operation
get_group_volume_operation
set_group_mute_operation
set_group_volume_operation
set_relative_group_volume_operation
snapshot_group_volume_operation
subscribe
Subscribe to GroupRenderingControl events
subscribe_with_timeout
Subscribe to GroupRenderingControl events with custom timeout