| 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 location mode.</pre> |
| | | | |
| − | This constraint can be used to allow a trigger to fire only when the location mode is set to a specific value.
| + | ''' Options ''' |
| | + | |
| | + | * '''High Accuracy/Battery Saving/Device Only''' - Match the current location mode |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Only open Maps when high accuracy mode is enabled'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Widget Button</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Launch Application: Maps</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Location Mode - High Accuracy</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Constraint: GPS State|GPS State Constraint]] |