Difference between revisions of "Constraint: Location Mode"
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current location mode.</pre> |
| − | + | ''' Options ''' | |
| + | |||
| + | Android 9 and below | ||
| + | |||
| + | * Location Service Off | ||
| + | * High Accuracy | ||
| + | * Battery Saving | ||
| + | * Device Only | ||
| + | |||
| + | Android 10 and above | ||
| + | |||
| + | * Location Service Off | ||
| + | * Location Service On | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Warn the user when launching Google Maps if location services are off'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Application Launched: Google Maps</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Popup Message: "Warning - Location Services are off"</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Location Mode - Location Service off</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Constraint: GPS State|GPS State Constraint]] | ||
Latest revision as of 11:46, 9 January 2026
This constraint allows or prevents a macro/feature from running based on the current location mode.
Options
Android 9 and below
- Location Service Off
- High Accuracy
- Battery Saving
- Device Only
Android 10 and above
- Location Service Off
- Location Service On
Example
Example 1: Warn the user when launching Google Maps if location services are off
Triggers Application Launched: Google Maps
Actions Popup Message: "Warning - Location Services are off"
Constraints Location Mode - Location Service off
See Also