| 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 mobile data state.</pre> |
| | | | |
| − | This constraint can be used to allow a trigger to fire only when the mobile data is on/off.
| + | ''' Options ''' |
| | + | |
| | + | * '''Enabled''': Constraint passes only when mobile data is on |
| | + | * '''Disabled''': Constraint passes only when mobile data is off |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Enable mobile data only if it is currently off'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Application Launched/Closed - Launched (YouTube)</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Mobile Data On/Off (Enable)</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Mobile Data On/Off - Disabled</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Action: Mobile Data On/Off|Mobile Data On/Off Action]] |