| Line 1: |
Line 1: |
| − | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether data roaming is enabled.</pre> |
| − | This constraint can be used to allow a trigger to fire only when the mobile roaming is enabled/disabled. | + | |
| − | </pre> | + | ''' Options ''' |
| | + | |
| | + | * '''Enabled''': Constraint passes only when data roaming is enabled |
| | + | * '''Disabled''': Constraint passes only when data roaming is disabled |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Disable mobile data when roaming is enabled'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Screen On/Off - Screen On</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Mobile Data On/Off (Disable)</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Roaming Enabled - Enabled</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Constraint: Is Roaming|Is Roaming Constraint]] |