Description
-
Called during file transfer.
Return Type
-
None
Syntax
-
object.FileTransferProgress Owner,
Contact, File, Position
The FileTransferProgress Method syntax has these parts:
| 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. |
| Position |
A Long value. Holds current file transfer
position. |
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.
|