Difference between revisions of "Constraint: Location Mode"
| Line 3: | Line 3: | ||
''' Options ''' | ''' 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 ''' | ||
| − | ''Example 1: | + | ''Example 1: Warn the user when launching Google Maps if location services are off'' |
<pre class="trigger-style">Triggers | <pre class="trigger-style">Triggers | ||
| − | + | Application Launched: Google Maps</pre> | |
<pre class="action-style">Actions | <pre class="action-style">Actions | ||
| − | + | Popup Message: "Warning - Location Services are off"</pre> | |
<pre class="constraint-style">Constraints | <pre class="constraint-style">Constraints | ||
| − | Location Mode - | + | Location Mode - Location Service off</pre> |
''' See Also ''' | ''' See Also ''' | ||
* [[Constraint: GPS State|GPS State Constraint]] | * [[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