| 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 ringer mode.</pre> |
| − | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | + | |
| − | This constraint can be used to allow a trigger to fire based on the state of the ringer volume.
| + | ''' Options ''' |
| − | </pre> | + | |
| | + | * '''Volume On''' - Normal ringer mode (sound on) |
| | + | * '''Vibrate Only''' - Vibrate without sound |
| | + | * '''Silent''' - No sound or vibration |
| | + | * '''Vibrate or Silent''' - Match either vibrate-only or silent |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Auto-reply when the phone is on silent or vibrate'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Call Incoming</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Send SMS: "I'm currently unavailable, will call back soon." to {call_number} |
| | + | Call Reject</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Ringer Volume - Vibrate or Silent</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Trigger: Call Incoming|Call Incoming Trigger]] |
| | + | * [[Action: Call Reject|Call Reject Action]] |