toggle menu
Spezi Documentation
androidJvm
switch theme
search in API
storage
/
edu.stanford.spezi.modules.storage.local
/
LocalStorage
Local
Storage
interface
LocalStorage
Members
Functions
delete
Link copied to clipboard
abstract
suspend
fun
delete
(
key
:
String
)
read
Link copied to clipboard
abstract
suspend
fun
<
T
:
Any
>
read
(
key
:
String
,
settings
:
LocalStorageSetting
,
decoding
:
(
ByteArray
)
->
T
)
:
T
?
abstract
suspend
fun
<
T
:
Any
>
read
(
key
:
String
,
settings
:
LocalStorageSetting
,
serializer
:
DeserializationStrategy
<
T
>
)
:
T
?
store
Link copied to clipboard
abstract
suspend
fun
<
T
:
Any
>
store
(
key
:
String
,
value
:
T
,
settings
:
LocalStorageSetting
,
encoding
:
(
T
)
->
ByteArray
)
abstract
suspend
fun
<
T
:
Any
>
store
(
key
:
String
,
value
:
T
,
settings
:
LocalStorageSetting
,
serializer
:
SerializationStrategy
<
T
>
)