Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.persistence/ModuleStoreProvider

ModuleStoreProvider

interface ModuleStoreProvider

The ModuleStoreProvider is responsible for registering and returning the DataStore instances required by individual modules

Functions

getModuleStore
Link copied to clipboard
abstract fun getModuleStore(module: Module): DataStore
abstract fun getModuleStore(moduleId: String): DataStore

Registers a Module for storage and returns its DataStore object, which can be used to read/write data.

getSharedDataStore
Link copied to clipboard
abstract fun getSharedDataStore(): DataStore

Returns a DataStore that is not tied to a specific module, and therefore available for shared storage. Be mindful that this store can therefore be read from and written to by any code with access to it.

Generated by Dokka
(c) Tealium 2026