* Used to handle files described in event, such as caching(if autoCache is true) and download.
* It is either used for caching or downloading. These two operations can be performed in same FileHandler.(Set autoCache to true and then call downloadFile)
* But one Filehandler can only track one download/cache job.
*/
QtObject {
id: fileHandler
/**
* Just set these four properties, any other properties will be automatically evaluated.
* The eventContent can be modified at any time.
* Modifying other properties can lead to unpredictable behavior.
*/
required property var eventContent
required property bool autoCache // thumbnail(if exists) will be downloaded if set to true
required property var kazvIOManager
required property var matrixSdk
readonly property var httpVer: matrixSdk.checkSpecVersion("v1.11") ? MK.MatrixSdk.AuthenticatedMediaV1 : MK.MatrixSdk.UnauthenticatedMediaV3