| java.lang.Object | ||
| ↳ | com.datalogic.device.configuration.ProfileRuleType | |
| ↳ | com.datalogic.device.configuration.ProfileUrlRuleType | |
ProfileUrlRuleTypedescribe the condition for which a profile is automatically loaded.
The condition defines the URL that, if accessed by an activity (or a list of activities) in foreground, cause the profile to be loaded automatically.
When one of the listed activities comes to the foreground and loads the URL the active profile is automatically loaded.
When the activity is no more in foreground or the URL is no more loaded the previous configuration will be restored.
To avoid any ambiguity, two ProfileUrlRuleTypes with overlapping loading conditions are not permitted.
Overlap occurs when two ProfileUrlRuleType share one or more URLs for the same activity.
This type of profile rule is added using addProfileUrlRule(StringBuffer, String, String, ArrayList.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| urlRegex | Regular expression that defines valid URLs which, when loaded by a foreground activity, trigger automatic profile activation. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.configuration.ProfileRuleType
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a string representation of the ProfileUrlRuleType.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.configuration.ProfileRuleType
| |||||||||||
From class
java.lang.Object
| |||||||||||
Regular expression that defines valid URLs which, when loaded by a foreground activity, trigger automatic profile activation.
Returns a string representation of the ProfileUrlRuleType.