Difference between revisions of "Constraint: Is Roaming"

m
 
(2 intermediate revisions by 2 users not shown)
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>
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
 
This constraint can be used to allow a trigger to fire only when the mobile is/is not currently roaming.
+
''' Options '''
</pre>
+
 
 +
* '''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]]

Latest revision as of 11:39, 9 January 2026

This constraint allows or prevents a macro/feature from running based on whether the device is 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

Triggers

Airplane Mode Disabled
Actions

Mobile Data On/Off (Disable)
Constraints

Is Roaming - Roaming

See Also