---
slug: ./DownloadEvent
title: "DownloadEvent"
sidebar_label: "DownloadEvent"
description: "Kotlin binding reference: DownloadEvent."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[DownloadEvent](index.md)/[DownloadEvent](DownloadEvent.md)

# DownloadEvent

[common]\
constructor(file: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), index: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), count: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), done: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), total: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), planBytesDone: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), planBytesTotal: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), isWeight: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html))