| Line 1: |
Line 1: |
| − | This constraint can be used to allow a trigger to fire only when the phone is ringing/not ringing. | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether the phone is currently ringing.</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]] |