...
Places the files into the destination directory specified in the passed AssetList object. If the pool does not contain the full set of required files, then this method will immediately fail before any files are changed (this method attempts to do as much work as possible before destructively modifying the file system). This method automatically checks the length of the file and any hashes that match the specification. If there is a mismatch, then the affected file is deleted and realization fails. This method indicates success or failure by returning a FailureReason interface.
The BrightSign JavaScript API currently does not have an equivalent to the roAssetPoolFiles object, so JavaScript applications must allow time to realize assets from an asset pool, rather than referring to them directly.
Note | ||
---|---|---|
| ||
The pool and the destination must be in the same file system. |
...
[DOMString] name
: The name of the mismatched file (if the realize operation fails)[bool] ok
: A flag indicating whether the realize operation succeeded or failed[DOMString] reason
: An explanation for a failed realize operation. See the roAssetRealizerEvent page for a list of possible reason strings.