Back to product page

FileTransferEnd callback method


Called when file transfer completes.

Syntax

  • Basic
object.FileTransferEnd (Owner, Contact, File, ErrorCode, ErrorText)
The FileTransferEnd(object,Owner,Contact,File,ErrorCode,ErrorText) 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
ErrorCodeA Long value. Holds error code, if any.
ErrorTextA String value. Holds text description of the error, if any.

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 when file transfer completes. If all was ok and file transfer succeeded, ErrorCode will be set to 0. If error occurred, you will see ErrorCode set. After this notification method is called, File object will be removed from the collection and object destroyed.

Platforms

Windows