DataStoreContent - DataDog/dd-sdk-android GitHub Wiki

data class DataStoreContent<T : Any>(val versionCode: Int, val data: T?)

Datastore entry contents and metadata.

Parameters

T type of data used by this entry in the datastore.

Constructors

DataStoreContent

constructor(versionCode: Int, data: T?)

Parameters
T type of data used by this entry in the datastore.

Properties

data

val data: T?

versionCode

val versionCode: Int