---
title: "TranslateReport"
sidebar_label: "TranslateReport"
description: "Kotlin binding reference: TranslateReport."
---

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

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

# TranslateReport

[common]\
data class [TranslateReport](index.md)(val latencyMs: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), val accelerator: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val canceled: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html))

The outcome of one translation request, delivered once through [TranslateListener.onDone](../TranslateListener/onDone.md).

## Constructors

| | |
|---|---|
| [TranslateReport](TranslateReport.md) | [common]<br>constructor(latencyMs: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), accelerator: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), canceled: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [accelerator](accelerator.md) | [common]<br>val [accelerator](accelerator.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)<br>The compute the request ran on, as the compute API's name (`CPU`; an accelerator among several carries its ordinal, `CUDA:1`). |
| [canceled](canceled.md) | [common]<br>val [canceled](canceled.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)<br>True when [TranslateHandle.cancel](../TranslateHandle/cancel.md) ended the request; the translations were dropped. |
| [latencyMs](latencyMs.md) | [common]<br>val [latencyMs](latencyMs.md): [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)<br>The whole request, in milliseconds. |