Difference between revisions of "Constraint: Phone Ringing"
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | <pre | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether the phone is currently ringing.</pre> |
| − | This constraint | + | |
| − | </pre> | + | ''' Options ''' |
| + | |||
| + | * '''Ringing''': Constraint passes only when the phone is ringing | ||
| + | * '''Not Ringing''': Constraint passes only when it is not ringing | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Answer a call only while the phone is ringing'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Headphones Insert/Removed - Connected</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Answer Call</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Phone Ringing - Ringing</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Trigger: Call Incoming|Call Incoming Trigger]] | ||
| + | * [[Action: Answer Call|Answer Call Action]] | ||
Latest revision as of 13:39, 9 January 2026
This constraint allows or prevents a macro/feature from running based on whether the phone is currently ringing.
Options
- Ringing: Constraint passes only when the phone is ringing
- Not Ringing: Constraint passes only when it is not ringing
Example
Example 1: Answer a call only while the phone is ringing
Triggers Headphones Insert/Removed - Connected
Actions Answer Call
Constraints Phone Ringing - Ringing
See Also