klaviyo-android-sdk
1.0.0
1.3.0
1.2.0-beta
1.1.1
1.1.0
1.0.1
1.0.0
androidJvm
fixtures
/
com.klaviyo.fixtures
/
InMemoryDataStore
In
Memory
Data
Store
class
InMemoryDataStore
:
DataStore
Implementation of DataStore that just uses an in-memory map for mocking/unit tests
Members
Constructors
In
Memory
Data
Store
Link copied to clipboard
constructor
(
)
Functions
clear
Link copied to clipboard
open
override
fun
clear
(
key
:
String
)
fetch
Link copied to clipboard
open
override
fun
fetch
(
key
:
String
)
:
String
?
off
Store
Change
Link copied to clipboard
open
override
fun
offStoreChange
(
observer
:
StoreObserver
)
on
Store
Change
Link copied to clipboard
open
override
fun
onStoreChange
(
observer
:
StoreObserver
)
store
Link copied to clipboard
open
override
fun
store
(
key
:
String
,
value
:
String
)