Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
extensions/com.tealium.prism.extensions.api.persistdatavalue/PersistDataValueSettingsBuilder/setExpiryPolicy

setExpiryPolicy

fun setExpiryPolicy(expiryPolicy: ExpiryPolicy): PersistDataValueSettingsBuilder

Sets the expiry policy for the persisted value. The expiry policy determines how long the persisted value should be retained before it expires. By default, the expiry policy is set to SESSION, which means the value will expire at the end of the session.

Parameters

expiryPolicy

The expiry policy to be applied to the persisted value.

Generated by Dokka
(c) Tealium 2026