Kit > healthstack.kit.datastore > PreferenceDataStore

PreferenceDataStore

[androidJvm]
class PreferenceDataStore(val context: Context)

Constructors

PreferenceDataStore

[androidJvm]
fun PreferenceDataStore(context: Context)

Types

Name Summary
Companion

[androidJvm]
object Companion

Functions

Name Summary
setProfile

[androidJvm]
suspend fun setProfile(profile: String)

setPush

[androidJvm]
suspend fun setPush(push: Boolean)

setReminder

[androidJvm]
suspend fun setReminder(reminder: String)

Properties

Name Summary
context

[androidJvm]
val context: Context

profile

[androidJvm]
val profile: Flow<String>

push

[androidJvm]
val push: Flow<Boolean>

reminder

[androidJvm]
val reminder: Flow<String>