Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.data/DataList/Companion

Companion

object Companion

Properties

EMPTY_LIST
Link copied to clipboard
@JvmField
val EMPTY_LIST: DataList

Constant value representing an empty DataList.

Functions

create
Link copied to clipboard
@JvmStatic
inline fun create(block: DataList.Builder.() -> Unit): DataList

Creates a new DataList providing the Builder in a block for easy population

fromArray
Link copied to clipboard
@JvmStatic
fun fromArray(array: Any): DataList

Converts an array to the supported DataList type.

fromBooleanCollection
Link copied to clipboard
@JvmStatic
fun fromBooleanCollection(collection: Collection<Boolean?>): DataList

Converts a Collection with Boolean values into a DataList

fromCollection
Link copied to clipboard
@JvmStatic
fun fromCollection(collection: Collection<*>): DataList

Converts a Collection to the supported DataList type.

fromDataItemCollection
Link copied to clipboard
@JvmStatic
fun fromDataItemCollection(collection: Collection<DataItem?>): DataList

Converts a Collection with DataItem values into a DataList

fromDataListCollection
Link copied to clipboard
@JvmStatic
fun fromDataListCollection(collection: Collection<DataList?>): DataList

Converts a Collection with DataList values into a DataList

fromDataObjectCollection
Link copied to clipboard
@JvmStatic
fun fromDataObjectCollection(collection: Collection<DataObject?>): DataList

Converts a Collection with DataObject values into a DataList

fromDoubleCollection
Link copied to clipboard
@JvmStatic
fun fromDoubleCollection(collection: Collection<Double?>): DataList

Converts a Collection with Double values into a DataList

fromIntCollection
Link copied to clipboard
@JvmStatic
fun fromIntCollection(collection: Collection<Int?>): DataList

Converts a Collection with Int values into a DataList

fromJSONArray
Link copied to clipboard
@JvmStatic
fun fromJSONArray(jsonArray: JSONArray): DataList

Converts a JSONArray to the supported DataList type.

fromLongCollection
Link copied to clipboard
@JvmStatic
fun fromLongCollection(collection: Collection<Long?>): DataList

Converts a Collection with Long values into a DataList

fromString
Link copied to clipboard
@JvmStatic
fun fromString(string: String): DataList?

Eagerly parses the given string to attempt to return a DataList.

fromStringCollection
Link copied to clipboard
@JvmStatic
fun fromStringCollection(collection: Collection<String?>): DataList

Converts a Collection with String values into a DataList

Generated by Dokka
(c) Tealium 2026