NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view on GitHub
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"application-settings"
External module "application-settings"
Globals
"application-
settings"
clear
flush
get
All
Keys
get
Boolean
get
Number
get
String
has
Key
remove
set
Boolean
set
Number
set
String
Index
Functions
clear
flush
get
All
Keys
get
Boolean
get
Number
get
String
has
Key
remove
set
Boolean
set
Number
set
String
Functions
clear
clear
(
)
:
void
Returns
void
flush
flush
(
)
:
boolean
Returns
boolean
boolean flag indicating if changes were saved successfully to disk.
get
All
Keys
get
All
Keys
(
)
:
Array
<
string
>
Returns
Array
<
string
>
Array containing all stored keys
get
Boolean
get
Boolean
(
key
:
string
, defaultValue
?:
boolean
)
:
boolean
Parameters
key:
string
Optional
defaultValue:
boolean
Returns
boolean
get
Number
get
Number
(
key
:
string
, defaultValue
?:
number
)
:
number
Parameters
key:
string
Optional
defaultValue:
number
Returns
number
get
String
get
String
(
key
:
string
, defaultValue
?:
string
)
:
string
Parameters
key:
string
Optional
defaultValue:
string
Returns
string
has
Key
has
Key
(
key
:
string
)
:
boolean
Parameters
key:
string
Returns
boolean
remove
remove
(
key
:
string
)
:
void
Parameters
key:
string
Returns
void
set
Boolean
set
Boolean
(
key
:
string
, value
:
boolean
)
:
void
Parameters
key:
string
value:
boolean
Returns
void
set
Number
set
Number
(
key
:
string
, value
:
number
)
:
void
Parameters
key:
string
value:
number
Returns
void
set
String
set
String
(
key
:
string
, value
:
string
)
:
void
Parameters
key:
string
value:
string
Returns
void
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method