Skip to content

DataStoreContent

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

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

Clone this wiki locally