Brightsign Object Reference Manual (FW 5.1) Instrukcja Użytkownika Strona 177

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 341
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 176
169
roAssetFetcherEvent
This event is generated by an roAssetFetcher object when a file transfer succeeds or fails, or when population of the
asset pool as a whole succeeds or fails.
Interfaces: ifAssetFetcherEvent, ifUserData
The ifAssetFetcherEvent interface provides the following:
GetEvent() As Integer: Returns an integer indicating the result of an roAssetFetcher download attempt:
o 1: POOL_EVENT_FILE_DOWNLOADED
o -1: POOL_EVENT_FILE_FAILED
o 2: POOL_EVENT_ALL_DOWNLOADED
o -2: POOL_EVENT_ALL_FAILED
GetName() As String
GetResponseCode() As Integer: Returns the protocol response code associated with an event. The following
codes indicate success:
o 200: Successful HTTP transfer
o 226: Successful FTP transfer
o 0: Successful local file transfer
For unexpected errors, the return value is negative. There are many possible negative errors from the CURL library,
but it is often best to look at the text version by calling GetFailureReason().
Here are some potential errors. Not all of them can be generated by a BrightSign player:
Status
Name
Description
-1
CURLE_UNSUPPORTED_PROTOCOL
-2
CURLE_FAILED_INIT
-3
CURLE_URL_MALFORMAT
-5
CURLE_COULDNT_RESOLVE_PROXY
Przeglądanie stron 176
1 2 ... 172 173 174 175 176 177 178 179 180 181 182 ... 340 341

Komentarze do niniejszej Instrukcji

Brak uwag