Brightsign Object Reference Manual (FW 5.1) User Manual Page 170

  • Download
  • Add to my manuals
  • Print
  • Page
    / 341
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 169
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 roSyncSpec.GetAssets method, as shown below:
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.
Page view 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 340 341

Comments to this Manuals

No comments