tsNetSetStatusCallback | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | tsnet | ||||||
Summary | Sends a message to the given callback when status updates are available for network transfers. | ||||||
Edition | Indy | ||||||
Introduced | 8.1 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Library: tsNet | ||||||
Description | The message will be sent with five parameters: the identifier for the transfer, the status of the transfer, the number of bytes that have been downloaded, the total number of bytes to be downloaded, the number of bytes that have been uploaded and the total number of bytes to be uploaded. The total bytes may be 0 if the external is unable to determine this figure. The status of the transfer can be any of: cancelled, timeout, error, uploaded, downloaded, requested, contacted, uploading or loading. | ||||||
Tags | externals |