FileSystemManager.readFileSync
Requires:
BaseKit≥2.0.1
Platforms:
iOSAndroid
Method signature
FileSystemManager.readFileSync(req?: )Description
Read the contents of a local file
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| No | Parameter object |
Return Value
Type: Object↓
| Property | Type | Description |
|---|---|---|
data | string | File content |