ON THIS PAGE
The assetrealizer object allows you to transfer files from an asset pool to other locations in the file directory.
Object Creation
To create an assetrealizer object, you will first need to create an assetpool instance and download files to it using an assetfetcher instance. Then, load the brightsign/assetrealizer
module using the Require()
method, and create an instance of the assetrealizer class using the assetpool instance.
var AssetPoolClass = require("@brightsign/assetpool"); var assetPool = new AssetPoolClass("SD:/pool"); var AssetRealizerClass = require("@brightsign/assetrealizer"); var assetRealizer = new AssetRealizerClass(assetPool);