Difference between revisions of "Constraint: Notification Volume"

 
(One intermediate revision by the same user not shown)
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 the current notification volume level.</pre>
  
This constraint can be used to allow a trigger to fire based on the state of the notification volume being on or off.
+
''' Options '''
 +
 
 +
* '''Volume On/Silent''' - Check if notifiation volume is on or in silent state.
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Play a warning sound if certain notificaiton content is received and the notification volume is zero''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Notification Received (Contains Important)</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Play Sound (Bell)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Notification Volume - Silent</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Constraint: Ringer Volume|Ringer Volume Constraint]]

Latest revision as of 13:38, 9 January 2026

This constraint allows or prevents a macro/feature from running based on the current notification volume level.

Options

  • Volume On/Silent - Check if notifiation volume is on or in silent state.

Example

Example 1: Play a warning sound if certain notificaiton content is received and the notification volume is zero

Triggers

Notification Received (Contains Important)
Actions

Play Sound (Bell)
Constraints

Notification Volume - Silent

See Also