BrightSign Object Reference Manual (FW 5.1) User Manual
Page 171

163
•
AddAssets(asset_info_array As Object) As Boolean: Adds multiple assets from an enumerable object
(roList or roArray) that contains compatible associative arrays.
•
GetAssetList() As roList: Returns an roList instance containing associative arrays of the asset metadata.
This method is not efficient and is, therefore, recommended for debugging and diagnostic purposes only.
The associative array contains the following:
name
String
Mandatory
The name of the asset. For a file to be realized, it must have a valid
filename (i.e. no slashes).
link
String
Mandatory
The download location of the asset
size
Integer/String Optional
The size of the asset. Use a string if you want to specify a number
that is too large to fit into an integer (this allows file sizes larger than
2 GB).
hash
String
Optional
A string in the form of "
hash_algorithm:hash". See the next
table for details.
change_hint
String
Optional
Any string that will change in conjunction with the file contents. This
is not necessary if the
link or hash is supplied and always
changes.
auth_inherit
Boolean
Optional
Indication of whether or not this asset uses roAssetFetcher
authentication information. The default is set to True.
auth_user
Boolean
Optional
User to utilize for authentication when downloading only this asset.
This automatically disables "
auth_inherit".
auth_password
Boolean
Optional
Password to use when downloading only this asset. This
automatically disables "
auth_inherit".
headers_inherit Boolean
Optional
The command to pass any header supplier to roAssetFetcher when
fetching this asset. The default is true.