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 the current Bluetooth state.</pre>
   −
This constraint can be used to allow a trigger to fire only when the Bluetooth connection is in a specific state.
+
''' Options '''
   −
You can specify that either the Bluetooth is on or off, or alternatively that a particular device is/is not connected.
+
* '''Bluetooth Enabled''': Constraint passes only when Bluetooth is on
 +
* '''Bluetooth Disabled''': Constraint passes only when Bluetooth is off
 +
* '''Device Connected/Disconnected''': Optionally check if a specific device is connected or not
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Enable Bluetooth before launching navigation if it is off''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Application Launched/Closed - Launched (Maps)</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Bluetooth Configure (Enable)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Bluetooth State - Disabled</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: Bluetooth Event|Bluetooth Event Trigger]]
 +
* [[Action: Bluetooth Configure|Bluetooth Configure Action]]