Changes

no edit summary
Line 1: Line 1: −
<span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span>
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on a specific volume stream level.</pre>
   −
This constraint can be used to allow a trigger to fire based on the volume level of a specific audio stream.
+
''' 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]]