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 whether the phone is currently ringing.</pre>
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
 
This constraint can be used to allow a trigger to fire only when the phone is ringing/not ringing.
+
''' Options '''
</pre>
+
 
 +
* '''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]]