Teleforge API Reference - v0.1.0
Preparing search index...
web/src
CloudStorage
Interface CloudStorage
interface
CloudStorage
{
getItem
(
key
:
string
,
callback
?:
(
error
:
Error
|
null
,
value
:
string
|
null
)
=>
void
,
)
:
void
;
getItems
(
keys
:
string
[]
,
callback
?:
(
error
:
Error
|
null
,
values
:
Record
<
string
,
string
>
)
=>
void
,
)
:
void
;
removeItem
(
key
:
string
,
callback
?:
(
error
:
Error
|
null
,
success
:
boolean
)
=>
void
,
)
:
void
;
removeItems
(
keys
:
string
[]
,
callback
?:
(
error
:
Error
|
null
,
success
:
boolean
)
=>
void
,
)
:
void
;
setItem
(
key
:
string
,
value
:
string
,
callback
?:
(
error
:
Error
|
null
,
success
:
boolean
)
=>
void
,
)
:
void
;
}
Index
Methods
get
Item
get
Items
remove
Item
remove
Items
set
Item
Methods
get
Item
getItem
(
key
:
string
,
callback
?:
(
error
:
Error
|
null
,
value
:
string
|
null
)
=>
void
,
)
:
void
Parameters
key
:
string
Optional
callback
:
(
error
:
Error
|
null
,
value
:
string
|
null
)
=>
void
Returns
void
get
Items
getItems
(
keys
:
string
[]
,
callback
?:
(
error
:
Error
|
null
,
values
:
Record
<
string
,
string
>
)
=>
void
,
)
:
void
Parameters
keys
:
string
[]
Optional
callback
:
(
error
:
Error
|
null
,
values
:
Record
<
string
,
string
>
)
=>
void
Returns
void
remove
Item
removeItem
(
key
:
string
,
callback
?:
(
error
:
Error
|
null
,
success
:
boolean
)
=>
void
,
)
:
void
Parameters
key
:
string
Optional
callback
:
(
error
:
Error
|
null
,
success
:
boolean
)
=>
void
Returns
void
remove
Items
removeItems
(
keys
:
string
[]
,
callback
?:
(
error
:
Error
|
null
,
success
:
boolean
)
=>
void
,
)
:
void
Parameters
keys
:
string
[]
Optional
callback
:
(
error
:
Error
|
null
,
success
:
boolean
)
=>
void
Returns
void
set
Item
setItem
(
key
:
string
,
value
:
string
,
callback
?:
(
error
:
Error
|
null
,
success
:
boolean
)
=>
void
,
)
:
void
Parameters
key
:
string
value
:
string
Optional
callback
:
(
error
:
Error
|
null
,
success
:
boolean
)
=>
void
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
get
Item
get
Items
remove
Item
remove
Items
set
Item
Teleforge API Reference - v0.1.0
Loading...