Difference between revisions of "Constraint: Bluetooth State"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current Bluetooth state.</pre> |
| − | + | ''' Options ''' | |
| − | + | * '''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]] | ||
Latest revision as of 11:06, 9 January 2026
This constraint allows or prevents a macro/feature from running based on the current Bluetooth state.
Options
- 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
Triggers Application Launched/Closed - Launched (Maps)
Actions Bluetooth Configure (Enable)
Constraints Bluetooth State - Disabled
See Also