FileSystemManager.access
Requires:
BaseKit≥2.4.3
Platforms:
iOSAndroid
Method signature
FileSystemManager.access(params: )Description
Check whether a file/directory exists
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
path | string | Yes | The file/directory path to check (local path) |
complete | () => void | No | Completion callback (executed on both success and failure) |
success | () => void | No | Callback on successful API call |
fail | (params: Object) => void | No | Failure callback |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None