public abstract static class Tealium.Config
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static ConsentManager |
DEFAULT_CONSENT_MANAGER |
protected static java.lang.String |
DEFAULT_DATASOURCE_ID |
protected static java.lang.String |
DEFAULT_FORCE_OVERRIDE_LOGLEVEL |
protected static boolean |
DEFAULT_IS_CONSENT_MANAGER_ENABLED |
protected static boolean |
DEFAULT_IS_COOKIE_MANAGER_ENABLED |
protected static boolean |
DEFAULT_IS_REMOTE_COMMAND_ENABLED |
protected static java.lang.String |
DEFAULT_OVERRIDE_COLLECT_DISPATCH_URL |
protected static java.lang.String |
DEFAULT_OVERRIDE_PUBLISH_SETTINGS_URL |
protected static java.lang.String |
DEFAULT_OVERRIDE_TAG_MANAGEMENT_URL |
Modifier and Type | Method and Description |
---|---|
static Tealium.Config |
create(android.app.Application application,
java.lang.String accountName,
java.lang.String profileName,
java.lang.String environmentName)
Create instance of the Config object
|
Tealium.Config |
enableConsentManager(java.lang.String instanceId)
Enable Consent Manager
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAccountName() |
android.app.Application |
getApplication()
Internal use only
|
VisitorProfile |
getCachedVisitorProfile() |
ConsentManager |
getConsentManager() |
java.lang.String |
getDatasourceId() |
java.lang.String |
getDefaultTagManagementUrl()
Internal Use Only
|
java.util.List<DispatchValidator> |
getDispatchValidators()
Add/Remove
DispatchValidator s by modifying the collection returned by this method |
java.lang.String |
getEnvironmentName() |
java.util.List<java.util.EventListener> |
getEventListeners()
Add/Remove
EventListener s defined in com.tealium.internal.listeners by
modifying the collection returned by this method |
java.lang.String |
getForceOverrideLogLevel() |
com.tealium.internal.Logger |
getLogger()
Internal use only
|
long |
getMinutesBetweenSessionId() |
java.lang.String |
getOverrideCollectDispatchUrl() |
java.lang.String |
getOverridePublishSettingsUrl() |
java.lang.String |
getOverrideS2SLegacyDispatchUrl() |
java.lang.String |
getOverrideTagManagementUrl() |
java.lang.String |
getProfileName() |
PublishSettings |
getPublishSettings()
Internal use only
|
java.io.File |
getTealiumDir()
Internal use only
|
boolean |
isConsentManagerEnabled() |
boolean |
isCookieManagerEnabled() |
boolean |
isRemoteCommandEnabled() |
Tealium.Config |
setCookieManagerEnabled(boolean isCookieManagerEnabled)
Set to enable/disable CookieManager for WebView - enabled by default
|
Tealium.Config |
setDatasourceId(java.lang.String dataSourceId)
Set Datasource ID from UDH
|
Tealium.Config |
setForceOverrideLogLevel(java.lang.String forceOverrideLogLevel)
Set to force a specific log level at init time
|
Tealium.Config |
setMinutesBetweenSessionId(long minutesBetweenSessionId)
Set custom minutes between session id.
|
Tealium.Config |
setOverrideCollectDispatchUrl(java.lang.String overrideDispatchURL)
Set the Collect URL
Default is
https://datacloud.tealiumiq.com/vdata/i.gif?tealium_vid={visitor id}&tealium_account={account}&tealium_profile=main |
Tealium.Config |
setOverridePublishSettingsUrl(java.lang.String overridePublishSettingsURL)
Set the URL for a Publish Settings JSON object instead of parsing from the URL provided by
getDefaultTagManagementUrl() |
Tealium.Config |
setOverrideS2SLegacyDispatchUrl(java.lang.String overrideS2SLegacyURL)
Set the Server-to-Server URL using the legacy system
Default is
https://collect.tealiumiq.com/{account}/{profile}/8/i.gif?data= |
Tealium.Config |
setOverrideTagManagementUrl(java.lang.String overrideTagManagementUrl)
Set the URL for downloading and running UTag
Default is
https://tags.tiqcdn.com/utag/{account}/{profile}/{environment}/mobile.html |
Tealium.Config |
setRemoteCommandEnabled(boolean isRemoteCommandEnabled)
Set whether reserved RemoteCommands and those added by
Tealium.addRemoteCommand(RemoteCommand) can be fireable by TealiumIQ |
java.lang.String |
toString() |
protected static final boolean DEFAULT_IS_REMOTE_COMMAND_ENABLED
protected static final boolean DEFAULT_IS_COOKIE_MANAGER_ENABLED
protected static final boolean DEFAULT_IS_CONSENT_MANAGER_ENABLED
protected static final java.lang.String DEFAULT_OVERRIDE_TAG_MANAGEMENT_URL
protected static final java.lang.String DEFAULT_OVERRIDE_PUBLISH_SETTINGS_URL
protected static final java.lang.String DEFAULT_OVERRIDE_COLLECT_DISPATCH_URL
protected static final java.lang.String DEFAULT_DATASOURCE_ID
protected static final java.lang.String DEFAULT_FORCE_OVERRIDE_LOGLEVEL
protected static final ConsentManager DEFAULT_CONSENT_MANAGER
public final java.io.File getTealiumDir()
public final android.app.Application getApplication()
public final java.lang.String getAccountName()
create(Application, String, String, String)
public final java.lang.String getProfileName()
create(Application, String, String, String)
public final java.lang.String getEnvironmentName()
create(Application, String, String, String)
public final java.lang.String getDatasourceId()
public final long getMinutesBetweenSessionId()
public final ConsentManager getConsentManager()
public final java.lang.String getDefaultTagManagementUrl()
public final java.lang.String getOverrideTagManagementUrl()
setOverrideTagManagementUrl(String)
public final java.lang.String getOverridePublishSettingsUrl()
setOverridePublishSettingsUrl(String)
L(String)}public final java.util.List<DispatchValidator> getDispatchValidators()
DispatchValidator
s by modifying the collection returned by this methodList
of DispatchValidator
s to be used by the library (empty by default)public final java.util.List<java.util.EventListener> getEventListeners()
EventListener
s defined in com.tealium.internal.listeners
by
modifying the collection returned by this methodList
of EventListener
s to be used by the library (empty by default)public final boolean isRemoteCommandEnabled()
public final boolean isCookieManagerEnabled()
public final java.lang.String getForceOverrideLogLevel()
public final VisitorProfile getCachedVisitorProfile()
VisitorProfile
or null if never fetchedpublic final java.lang.String getOverrideCollectDispatchUrl()
setOverrideCollectDispatchUrl(String)
}public final com.tealium.internal.Logger getLogger()
public final java.lang.String getOverrideS2SLegacyDispatchUrl()
setOverrideS2SLegacyDispatchUrl(String)
public Tealium.Config enableConsentManager(java.lang.String instanceId)
public boolean isConsentManagerEnabled()
public Tealium.Config setDatasourceId(java.lang.String dataSourceId)
dataSourceId
- unique identifier of datasourcepublic Tealium.Config setMinutesBetweenSessionId(long minutesBetweenSessionId)
minutesBetweenSessionId
- public Tealium.Config setOverrideS2SLegacyDispatchUrl(java.lang.String overrideS2SLegacyURL)
https://collect.tealiumiq.com/{account}/{profile}/8/i.gif?data=
overrideS2SLegacyURL
- new URL or nullpublic Tealium.Config setOverrideCollectDispatchUrl(java.lang.String overrideDispatchURL)
https://datacloud.tealiumiq.com/vdata/i.gif?tealium_vid={visitor id}&tealium_account={account}&tealium_profile=main
overrideDispatchURL
- new URL or nullpublic Tealium.Config setRemoteCommandEnabled(boolean isRemoteCommandEnabled)
Tealium.addRemoteCommand(RemoteCommand)
can be fireable by TealiumIQisRemoteCommandEnabled
- true for RemoteCommands to be fireablepublic Tealium.Config setCookieManagerEnabled(boolean isCookieManagerEnabled)
isCookieManagerEnabled
- true if Cookie Manager is enabledpublic Tealium.Config setForceOverrideLogLevel(java.lang.String forceOverrideLogLevel)
forceOverrideLogLevel
- - options: dev, qa, prod, silentpublic Tealium.Config setOverridePublishSettingsUrl(java.lang.String overridePublishSettingsURL)
getDefaultTagManagementUrl()
overridePublishSettingsURL
- new URL or nullpublic Tealium.Config setOverrideTagManagementUrl(java.lang.String overrideTagManagementUrl)
https://tags.tiqcdn.com/utag/{account}/{profile}/{environment}/mobile.html
overrideTagManagementUrl
- new URL or nullpublic final PublishSettings getPublishSettings()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static Tealium.Config create(android.app.Application application, java.lang.String accountName, java.lang.String profileName, java.lang.String environmentName)
application
- the application instanceaccountName
- non-empty Tealium-provided account nameprofileName
- non-empty TealiumIQ profile nameenvironmentName
- "dev", "qa", or "prod"