Namespace: DownstreamElectronFE

DownstreamElectronFE

this a bridge class for DownstreamElectronBE all methods described in (DownstreamElectronFE.downloads)
Properties:
Name Type Description
downloads DownstreamElectronFE.downloads api for downloads

Namespaces

downloads

Methods

init(window, persistent) → {DownstreamElectronFE}

initialize the api in render process
Parameters:
Name Type Description
window object window object from renderer window
persistent Persistent persistent helper class for creating and removing persistent session
Returns:
DownstreamElectronFE
Type
DownstreamElectronFE
Example
// somewhere in the renderer process
// this is example based on persistent plugin from PRESTOplay for Desktops,
// you can create its own too, for details click on >> Persistent <<
const persistent = require('./clpp_persistent.plugin.min');
const downstreamElectron = require("downstream-electron").init(window, persistent);