TealiumConfig constructor
TealiumConfig(
- String account,
- String profile,
- TealiumEnvironment environment,
- List<
Collectors> collectors, - List<
Dispatchers> dispatchers, { - String? dataSource,
- String? customVisitorId,
- bool? memoryReportingEnabled,
- String? overrideCollectURL,
- String? overrideCollectProfile,
- String? overrideCollectBatchURL,
- String? overrideCollectDomain,
- String? overrideLibrarySettingsURL,
- String? overrideTagManagementURL,
- bool? deepLinkTrackingEnabled,
- bool? qrTraceEnabled,
- LogLevel? loglevel,
- bool? consentLoggingEnabled,
- ConsentPolicy? consentPolicy,
- ConsentExpiry? consentExpiry,
- bool? batchingEnabled,
- bool? lifecycleAutotrackingEnabled,
- bool? useRemoteLibrarySettings,
- bool? visitorServiceEnabled,
- bool? sessionCountingEnabled,
- List<
RemoteCommand> ? remoteCommands, - String? visitorIdentityKey,
Implementation
TealiumConfig(
String account,
String profile,
TealiumEnvironment environment,
List<Collectors> collectors,
List<Dispatchers> dispatchers,
// Optional TealiumConfig Parameters
{
String? dataSource,
String? customVisitorId,
bool? memoryReportingEnabled,
String? overrideCollectURL,
String? overrideCollectProfile,
String? overrideCollectBatchURL,
String? overrideCollectDomain,
String? overrideLibrarySettingsURL,
String? overrideTagManagementURL,
bool? deepLinkTrackingEnabled,
bool? qrTraceEnabled,
LogLevel? loglevel,
bool? consentLoggingEnabled,
ConsentPolicy? consentPolicy,
ConsentExpiry? consentExpiry,
bool? batchingEnabled,
bool? lifecycleAutotrackingEnabled,
bool? useRemoteLibrarySettings,
bool? visitorServiceEnabled,
bool? sessionCountingEnabled,
List<RemoteCommand>? remoteCommands,
String? visitorIdentityKey
}) {
this.account = account;
this.profile = profile;
this.environment = environment.toString();
this.collectors = collectors.map((item) => item.toString()).toList();
this.dispatchers = dispatchers.map((item) => item.toString()).toList();
this.dataSource = dataSource;
this.customVisitorId = customVisitorId;
this.memoryReportingEnabled = memoryReportingEnabled;
this.overrideCollectURL = overrideCollectURL;
this.overrideCollectProfile = overrideCollectProfile;
this.overrideCollectBatchURL = overrideCollectBatchURL;
this.overrideCollectDomain = overrideCollectDomain;
this.overrideLibrarySettingsURL = overrideLibrarySettingsURL;
this.overrideTagManagementURL = overrideTagManagementURL;
this.deepLinkTrackingEnabled = deepLinkTrackingEnabled;
this.qrTraceEnabled = qrTraceEnabled;
this.logLevel = loglevel?.toString();
this.consentLoggingEnabled = consentLoggingEnabled;
this.consentPolicy = consentPolicy?.toString();
this.consentExpiry = consentExpiry?.toJson();
this.batchingEnabled = batchingEnabled;
this.lifecycleAutotrackingEnabled = lifecycleAutotrackingEnabled;
this.useRemoteLibrarySettings = useRemoteLibrarySettings;
this.visitorServiceEnabled = visitorServiceEnabled;
this.sessionCountingEnabled = sessionCountingEnabled;
this.remoteCommands = remoteCommands;
this.visitorIdentityKey = visitorIdentityKey;
}