to top
Datalogic APIs
public class

ProfileUrlRuleType

extends ProfileRuleType
java.lang.Object
   ↳ com.datalogic.device.configuration.ProfileRuleType
     ↳ com.datalogic.device.configuration.ProfileUrlRuleType

Class Overview

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, String).

Summary

Fields
public String 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
ProfileUrlRuleType()
Public Methods
String toString()
Returns a string representation of the ProfileUrlRuleType.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.ProfileRuleType
From class java.lang.Object

Fields

public String urlRegex

Added in revision 47

Regular expression that defines valid URLs which, when loaded by a foreground activity, trigger automatic profile activation.

Public Constructors

public ProfileUrlRuleType ()

Added in revision 47

Public Methods

public String toString ()

Returns a string representation of the ProfileUrlRuleType.