Preparing search index...
The search index is not available
matter.js-monorepo
matter.js-monorepo
@project-chip/matter.js
storage
SyncStorage
Class SyncStorage
Abstract
Matter.js uses this key/value API to manage persistent state.
Hierarchy (
view full
)
SyncStorage
StorageBackendMemory
Implements
Storage
Index
Constructors
constructor
Properties
initialized
Methods
clear
All
close
contexts
delete
get
initialize
keys
set
values
Constructors
constructor
new
Sync
Storage
(
)
:
SyncStorage
Returns
SyncStorage
Properties
Abstract
initialized
initialized
:
boolean
Methods
Abstract
clear
All
clear
All
(
contexts
)
:
void
Parameters
contexts
:
string
[]
Returns
void
Abstract
close
close
(
)
:
MaybePromise
<
void
>
Returns
MaybePromise
<
void
>
Abstract
contexts
contexts
(
contexts
)
:
string
[]
Parameters
contexts
:
string
[]
Returns
string
[]
Abstract
delete
delete
(
contexts
,
key
)
:
void
Parameters
contexts
:
string
[]
key
:
string
Returns
void
Abstract
get
get
<
T
>
(
contexts
,
key
)
:
undefined
|
T
Type Parameters
T
extends
SupportedStorageTypes
Parameters
contexts
:
string
[]
key
:
string
Returns
undefined
|
T
Abstract
initialize
initialize
(
)
:
MaybePromise
<
void
>
Returns
MaybePromise
<
void
>
Abstract
keys
keys
(
contexts
)
:
string
[]
Parameters
contexts
:
string
[]
Returns
string
[]
Abstract
set
set
(
contexts
,
values
)
:
void
Parameters
contexts
:
string
[]
values
:
Record
<
string
,
SupportedStorageTypes
>
Returns
void
set
(
contexts
,
key
,
value
)
:
void
Parameters
contexts
:
string
[]
key
:
string
value
:
SupportedStorageTypes
Returns
void
Abstract
values
values
(
contexts
)
:
Record
<
string
,
SupportedStorageTypes
>
Parameters
contexts
:
string
[]
Returns
Record
<
string
,
SupportedStorageTypes
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
initialized
Methods
clear
All
close
contexts
delete
get
initialize
keys
set
values
matter.js-monorepo
Loading...
Matter.js uses this key/value API to manage persistent state.