Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.network/ResourceCache/saveResource

saveResource

abstract fun saveResource(resource: T, etag: String?)

Saves the resource and its etag into a DataStore for reading later.

Parameters

resource

The object to store in the DataStore

etag

The etag for this object; null values will also remove a previously stored etag

Generated by Dokka
(c) Tealium 2026