Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Begins populating the asset pool using the files listed in the passed roAssetCollectioninstance. Files that are not already in the pool will be downloaded automatically. Events are raised during the download process to indicate whether individual file downloads have succeeded or failed; finally, a single event will be raised indicating whether the entire asset collection has been downloaded successfully or not. See the roAssetFetcherEventand roAssetFetcherProgressEvententries for more details.

AsyncSuggestCache(

...

spec As

...

roAssetCollection) As Boolean 

Begins downloading the required files from the passed roAssetCollection instance, then disconnects shortly afterward. If the player is set to use a suitably configured proxy (either globally or via the SetProxy() method), then the proxy will continue to download the files, making them readily available for AsyncDownload() calls in the future.

This method generates an roAssetFetcherEvent message with response code 202 ("Accepted") to indicate success. Other errors will be reported as usual. The final all-files-complete event code will always be -2 ("EVENT_ALL_FAILED") because the download does not complete.

AsyncCancel() As Boolean

Cancels any pending “Async” requests. Note that, prior to and during this method call, events associated with an asynchronous action may be queued. No more events will be queued once this call returns. We recommend collecting any pending events prior to calling any further “Async” methods on the same object to avoid confusion.

...