DataLayer Module
-
DataLayerSettingsBuilderFrom TealiumPrismCoreA builder for
DataLayerSettings.Declaration
Swift
public class DataLayerSettingsBuilder : CollectorSettingsBuilder
-
A
DataStoreTransaction, a~Copyablestruct passedborrowingto aDataLayer.TransactionBlockgiven toDataLayer.transactionally(execute:).It wraps a pending
DataStoreedit session, offering the write helpers (apply,put,putAll,remove,clear) andcommitas synchronous methods.It conforms to
DataItemExtractor, so all the typed getters of that protocol (get(key:as:),getArray(key:of:), …) and ofJSONPathExtractable(extract(path:as:), …) are available directly on the transaction, on top of thegetDataItem(key:)read requirement.See moreNote
DataStoreTransactionis noncopyable and is passedborrowingto theTransactionBlock, so it cannot be copied, stored in a property, or captured by an escaping closure. It is only valid for the duration of the block.Declaration
Swift
public struct DataStoreTransaction : ~Copyable, DataItemExtractor
View on GitHub
DataLayer Module Reference