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
"@nativescript/core"
Folder
Class Folder
Globals
"@nativescript/core"
Font
Style
Font
Weight
Grid
Unit
Type
Length
Percent
Length
Screen
ad
categories
encoding
ios
known
Folders
layout
message
Type
path
Folder
is
Known
last
Modified
name
parent
path
clear
clear
Sync
contains
each
Entity
get
Entities
get
Entities
Sync
get
File
get
Folder
remove
remove
Sync
rename
rename
Sync
exists
from
Path
Hierarchy
FileSystemEntity
Index
Properties
is
Known
last
Modified
name
parent
path
Methods
clear
clear
Sync
contains
each
Entity
get
Entities
get
Entities
Sync
get
File
get
Folder
remove
remove
Sync
rename
rename
Sync
exists
from
Path
Properties
is
Known
is
Known
:
boolean
last
Modified
last
Modified
:
Date
name
name
:
string
parent
parent
:
Folder
path
path
:
string
Methods
clear
clear
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
clear
Sync
clear
Sync
(
onError
?:
function
)
:
void
Parameters
Optional
onError:
function
(
error
:
any
)
:
void
Parameters
error:
any
Returns
void
Returns
void
contains
contains
(
name
:
string
)
:
boolean
Parameters
name:
string
Returns
boolean
each
Entity
each
Entity
(
onEntity
:
function
)
:
any
Parameters
onEntity:
function
(
entity
:
FileSystemEntity
)
:
boolean
Parameters
entity:
FileSystemEntity
Returns
boolean
Returns
any
get
Entities
get
Entities
(
)
:
Promise
<
Array
<
FileSystemEntity
>
>
Returns
Promise
<
Array
<
FileSystemEntity
>
>
get
Entities
Sync
get
Entities
Sync
(
onError
?:
function
)
:
Array
<
FileSystemEntity
>
Parameters
Optional
onError:
function
(
error
:
any
)
:
any
Parameters
error:
any
Returns
any
Returns
Array
<
FileSystemEntity
>
get
File
get
File
(
name
:
string
)
:
File
Parameters
name:
string
Returns
File
get
Folder
get
Folder
(
name
:
string
)
:
Folder
Parameters
name:
string
Returns
Folder
remove
remove
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
remove
Sync
remove
Sync
(
onError
?:
function
)
:
void
Parameters
Optional
onError:
function
(
error
:
any
)
:
any
Parameters
error:
any
Returns
any
Returns
void
rename
rename
(
newName
:
string
)
:
Promise
<
any
>
Parameters
newName:
string
Returns
Promise
<
any
>
rename
Sync
rename
Sync
(
newName
:
string
, onError
?:
function
)
:
void
Parameters
newName:
string
Optional
onError:
function
(
error
:
any
)
:
any
Parameters
error:
any
Returns
any
Returns
void
Static
exists
exists
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
Static
from
Path
from
Path
(
path
:
string
)
:
Folder
Parameters
path:
string
Returns
Folder
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