Back to product page

FileDone method


Called when component finishes downloading file.

Type

None

Syntax

  • Basic
object.FileDone Owner, File, ErrorCode, ErrorText
The FileDone(object,Owner,File,ErrorCode,ErrorText) syntax has these parts:
objectAn expression evaluating to an object of type IwodAppUpdateNotify.
OwnerRequired. A wodAppUpdate object. Reference to wodAppUpdateCom instance that called this notification method.
FileRequired. An UpdFile object. Holds reference to the file that is received.
ErrorCodeRequired. A Long value. error
ErrorTextRequired. A String value. Holds text description of the error, if any.

Remarks

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

This notification method is called each time after file is downloaded, as result of Download method call. If there are more than one files that need to be downloaded, this notification method will be called several times - once for each file.

When all files are downloaded, DownloadDone notification will be called.

Platforms

Windows