Difference between revisions of "Constraint: Volume Level"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on a specific volume stream level.</pre> |
| − | + | ''' Options ''' | |
| + | |||
| + | * '''Stream''' - Media, ringer, notification, alarm, etc. | ||
| + | * '''Above/Below''' - Compare against a target level | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Start playback only if media volume is high enough'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Headphones Insert/Removed - Connected</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Control Media (Play)</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Volume Level - Media >= 30%</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Constraint: Ringer Volume|Ringer Volume Constraint]] | ||
Revision as of 14:05, 9 January 2026
This constraint allows or prevents a macro/feature from running based on a specific volume stream level.
Options
- Stream - Media, ringer, notification, alarm, etc.
- Above/Below - Compare against a target level
Example
Example 1: Start playback only if media volume is high enough
Triggers Headphones Insert/Removed - Connected
Actions Control Media (Play)
Constraints Volume Level - Media >= 30%
See Also