new LocalPartRetriever(file, decrypt, decryptOptions)
Constructs a new LocalPartRetriever. LocalPartRetriever retrieves Document parts asynchronously from locally hosted .xod file. Requires a fully-functional file API.
Parameters:
Name | Type | Description |
---|---|---|
file |
File | The local file reference to read data from. |
decrypt |
function | Function to be called to decrypt a part of the file |
decryptOptions |
Object | An object with options for the decryption e.g. {password: "pass", type: "aes"} |