Back to product page

FileTransferProgress callback method


Called during file transfer.

Syntax

  • Basic
object.FileTransferProgress (Owner, Contact, File, Position)
The FileTransferProgress(object,Owner,Contact,File,Position) syntax has these parts:
objectAn expression evaluating to an object of type IwodXMPPNotify
OwnerAn expression evaluating to an object of type wodXMPP
ContactXMPPContact object
FileXMPPFile object
PositionLong.

Remarks

This method is called only if you implemented IwodXMPPNotify interface in your application, and wodXMPP.Notification property has received reference to instance of your implementation.

This notification method will be called more than once during file transfer, and file is being transferred to/from remote side. You can use it to show progress bar. There is no Size argument since Size is available from File object itself.

Platforms

Windows