toggle menu
Spezi Documentation
androidJvm
switch theme
search in API
storage-local
/
edu.stanford.spezi.storage.local
/
LocalStorage
Local
Storage
interface
LocalStorage
:
Module
Members
Types
Companion
Link copied to clipboard
object
Companion
:
DefaultInitializer
<
LocalStorage
>
Functions
configure
Link copied to clipboard
open
fun
configure
(
)
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
>
)