FileTransferEnd Method
      
 

Description

Called when file transfer completes.


Return Type

None  


Syntax

object.FileTransferEnd Owner, Contact, File, ErrorCode, ErrorText



The FileTransferEnd Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodXMPPNotify.
Owner Required. A wodXMPP object.
Contact A XMPPContact object. Reference to contact that is sending/receiving the file.
File A XMPPFile object. Reference to file that was sent/received.
ErrorCode A Long value. Holds error code, if any.
ErrorText A 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 is 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 is called, File object will be removed from the collection and object destroyed.