| 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 whether the device is roaming.</pre> |
| | | | |
| − | This constraint can be used to allow a trigger to fire only when the mobile is/is not currently roaming.
| + | ''' Options ''' |
| | + | |
| | + | * '''Roaming''': Constraint passes only when roaming is active |
| | + | * '''Not Roaming''': Constraint passes only when roaming is inactive |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Auto Disable mobile data when leaving a plane if in roaming state'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Airplane Mode Disabled</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Mobile Data On/Off (Disable)</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Is Roaming - Roaming</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Trigger: Roaming Started/Stopped|Roaming Started/Stopped Trigger]] |
| | + | * [[Constraint: Roaming Enabled|Roaming Enabled Constraint]] |