Search
Preparing search index...
The search index is not available
@ustra/nuxt - v2.1.0-stable
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"src/utils/native-app-storage"
NativeAppStorage
Class NativeAppStorage
Hierarchy
ObjectStorage
NativeAppStorage
Index
Constructors
constructor
Properties
bridge
Name
context
Methods
add
Key
clear
Item
deserialize
Value
get
Item
remove
Item
remove
Key
serialize
Value
set
Item
Constructors
constructor
new
Native
App
Storage
(
context
:
Context
, bridgeName
:
string
)
:
NativeAppStorage
Parameters
context:
Context
bridgeName:
string
Returns
NativeAppStorage
Properties
Private
bridge
Name
bridge
Name
:
string
Private
context
context
:
Context
Methods
Protected
add
Key
add
Key
(
key
:
string
)
:
void
key 추가
Parameters
key:
string
데이터 키
Returns
void
clear
Item
clear
Item
(
)
:
void
모든 데이터 제거
Returns
void
Protected
deserialize
Value
deserialize
Value
(
value
:
string
)
:
any
저장된 object data를 object 형태로 deserialze
Parameters
value:
string
Returns
any
get
Item
get
Item
(
key
:
string
, callback
?:
any
)
:
any
Parameters
key:
string
Default value
callback:
any
= null
Returns
any
remove
Item
remove
Item
(
key
?:
string
)
:
void
Parameters
Default value
key:
string
= null
Returns
void
Protected
remove
Key
remove
Key
(
key
:
string
)
:
void
키 제거
Parameters
key:
string
데이터 키
Returns
void
Protected
serialize
Value
serialize
Value
(
value
:
any
)
:
string
object data를 string 형태로 serialize
Parameters
value:
any
Returns
string
set
Item
set
Item
(
key
:
string
, value
:
any
)
:
void
Parameters
key:
string
value:
any
Returns
void
Globals
"src/utils/native-
app-
storage"
Native
App
Storage
constructor
bridge
Name
context
add
Key
clear
Item
deserialize
Value
get
Item
remove
Item
remove
Key
serialize
Value
set
Item
key 추가