====== onFileProgress() ====== wrtc.onFileProgress() is an event function repetitively called during file transfer, each time a new chunk of the file is received. You can use this event to indicate to user the file transfer progress (eg with a progress bar). ===== Arguments ===== wrtc.onFileProgress(fileName, send, progressPercent, address) * fileName - string containing name of file being transferred * send - boolean: * true - file is being sent * false - file is being received * progressPercent - value 0-100 indicating how much of the file has been transferred * address - address of other end of file transfer (receiving end if send=true, sending end if send=false) ===== Return value ===== Ignored. ===== Also See ===== [[ixnx:wrtc:js:api:wrtc:onfilereceived|wrtc.onFileReceived()]] [[ixnx:wrtc:js:api:wrtc:sendfile|wrtc.sendFile()]]