Difference between revisions of "Constraint: Phone Ringing"

(Created page with "This constraint can be used to allow a trigger to fire only when the phone is ringing/not ringing.")
 
 
(2 intermediate revisions by one other user not shown)
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]]

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