Difference between revisions of "Trigger: Shake Device"
m |
m |
||
Line 1: | Line 1: | ||
+ | <pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;"> | ||
This trigger will fire when you shake the device. Note that by default this trigger will only operate when the device's screen is on unless configured in the application trigger specific settings. | This trigger will fire when you shake the device. Note that by default this trigger will only operate when the device's screen is on unless configured in the application trigger specific settings. | ||
+ | </pre> | ||
'''Example Usage'''<br/> | '''Example Usage'''<br/> | ||
− | Shake device > | + | When shake your device toggle the flashlight |
+ | <pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;"> | ||
+ | Triggers | ||
+ | |||
+ | Shake device | ||
+ | </pre><br> | ||
+ | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> | ||
+ | Actions | ||
+ | |||
+ | Torch toggle (in background) | ||
+ | </pre><br> | ||
+ | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> | ||
+ | Constrains | ||
+ | |||
+ | |||
+ | </pre><br> | ||
+ | <pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;"> | ||
+ | Local variables | ||
+ | |||
+ | |||
+ | </pre><br> |
Revision as of 17:35, 29 April 2023
This trigger will fire when you shake the device. Note that by default this trigger will only operate when the device's screen is on unless configured in the application trigger specific settings.
Example Usage
When shake your device toggle the flashlight
Triggers Shake device
Actions Torch toggle (in background)
Constrains
Local variables