Difference between revisions of "Constraint: Airplane Mode"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether airplane mode is enabled or disabled.</pre> |
| − | + | ''' Options ''' | |
| + | |||
| + | * '''Airplane Mode Enabled''': Constraint passes only when airplane mode is on | ||
| + | * '''Airplane Mode Disabled''': Constraint passes only when airplane mode is off | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Remind the user when they turn the screen on that airplane mode is on'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Screen On/Off - Screen On</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Vibrate - Short Buzz | ||
| + | Edge notificaiton light (hide after 5 seconds)</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Airplane Mode - Airplane Mode Enabled</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Trigger: Airplane mode changed|Airplane mode changed Trigger]] | ||
Latest revision as of 10:36, 9 January 2026
This constraint allows or prevents a macro/feature from running based on whether airplane mode is enabled or disabled.
Options
- Airplane Mode Enabled: Constraint passes only when airplane mode is on
- Airplane Mode Disabled: Constraint passes only when airplane mode is off
Example
Example 1: Remind the user when they turn the screen on that airplane mode is on
Triggers Screen On/Off - Screen On
Actions Vibrate - Short Buzz Edge notificaiton light (hide after 5 seconds)
Constraints Airplane Mode - Airplane Mode Enabled
See Also