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

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

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

# VisionReport

[common]\
data class [VisionReport](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 vision request, delivered once through [VisionListener.onDone](../VisionListener/onDone.md).

## Constructors

| | |
|---|---|
| [VisionReport](VisionReport.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 [VisionHandle.cancel](../VisionHandle/cancel.md) ended the request; the result was dropped and no result callback was made. |
| [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. |