Image Uploader Scripting API
|
Functions | |
bool | PostUpload (ScriptAPI::UploadTaskUnion taskUnion, int reserved) |
bool | PreUpload (ScriptAPI::UploadTaskUnion taskUnion, int reserved) |
Functions of this script are being called for each upload task and for each child task (e.g. file upload, thumbnail upload, url shortening)
Example:
bool PostUpload | ( | ScriptAPI::UploadTaskUnion | taskUnion, |
int | reserved | ||
) |
This function is called after upload, but child tasks (url shortening, thumbnail upload) of this task can be still running
bool PreUpload | ( | ScriptAPI::UploadTaskUnion | taskUnion, |
int | reserved | ||
) |
This function is called before upload