Content management objects, Roassetcollection – BrightSign Object Reference Manual (FW 5.1) User Manual
Page 170

162
CONTENT MANAGEMENT OBJECTS
roAssetCollection
This object is used to represent a collection of assets.
Object Creation: The roAssetCollection object is created with no parameters.
CreateObject("roAssetCollection")
You can populate an asset collection with individual calls to
AddAsset() or AddAssets(). You can also populate an
asset collection using the
assetCollection = CreateObject("roAssetCollection")
localCurrentSync = CreateObject("roSyncSpec")
if localCurrentSync.ReadFromFile("local-sync.xml") then
assetCollection = localCurrentSync.GetAssets("download")
endif
Interfaces: ifAssetCollection, ifInternalAssetCollection
The ifAssetCollection interface provides the following: stuff
•
GetFailureReason() As String
•
AddAsset(asset_info As Object) As Boolean: Adds a single asset from an associative array.