Methods
(static) RetrieveInfo(url, sourceLocation) → {JSON|sap.ve.dvl.DVLRESULT}
Retrieves file information.
Parameters:
Name | Type | Description |
---|---|---|
url |
string | The file URL. |
sourceLocation |
sap.ve.dvl.SOURCELOCATION | The source location of the file: "local" or "remote". |
Returns:
An error code or an object with the following structure.
{ flags: number, major: number, minor: number }
- Type
- JSON | sap.ve.dvl.DVLRESULT
(static) RetrieveThumbnail(url, sourceLocation) → {string}
Retrieves a base64 encoded thumbnail for a file stored in the Emscripten virtual file system.
Parameters:
Name | Type | Description |
---|---|---|
url |
string | The file URL. |
sourceLocation |
sap.ve.dvl.SOURCELOCATION | The source location of the file: "local" or "remote". |
Returns:
A thumbnail encoded as a Base64 string.
- Type
- string