Difference between revisions of "Constraint: Device Facing"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether the device is face up or face down.</pre> |
| − | + | ''' Options ''' | |
| + | |||
| + | * '''Face Up''': Constraint passes only when the device is face up | ||
| + | * '''Face Down''': Constraint passes only when the device is face down | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Vibrate the device if it's currently face down when a WhatsApp notification is received'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Notification Received (Whatsapp)</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Vibrate - Rapid</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Device Facing - Face Down</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Trigger: Flip Device|Flip Device Trigger]] | ||
| + | * [[Action: Torch On/Off|Torch On/Off Action]] | ||
Latest revision as of 11:25, 9 January 2026
This constraint allows or prevents a macro/feature from running based on whether the device is face up or face down.
Options
- Face Up: Constraint passes only when the device is face up
- Face Down: Constraint passes only when the device is face down
Example
Example 1: Vibrate the device if it's currently face down when a WhatsApp notification is received
Triggers Notification Received (Whatsapp)
Actions Vibrate - Rapid
Constraints Device Facing - Face Down
See Also