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

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

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

# VisionHandle

[common]\
interface [VisionHandle](index.md)

A running vision request. [cancel](cancel.md) may be called from any thread. The model library runs a request to its end, so a cancel does not shorten the wait: the result is dropped when the model returns, no result callback is made, and [VisionListener.onDone](../VisionListener/onDone.md) arrives with [VisionReport.canceled](../VisionReport/canceled.md) true.

## Properties

| Name | Summary |
|---|---|
| [isDone](isDone.md) | [common]<br>abstract val [isDone](isDone.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)<br>True once the listener's terminal call has been made. |

## Functions

| Name | Summary |
|---|---|
| [cancel](cancel.md) | [common]<br>abstract fun [cancel](cancel.md)() |