Table of Contents

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)

Return value

Ignored.

Also See

wrtc.onFileReceived()

wrtc.sendFile()