Skip to main content

//clika-runtime/io.clika.modelverse/VisionHandle

VisionHandle

[common]
interface VisionHandle

A running vision request. cancel 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 arrives with VisionReport.canceled true.

Properties​

NameSummary
isDone[common]
abstract val isDone: Boolean
True once the listener's terminal call has been made.

Functions​

NameSummary
cancel[common]
abstract fun cancel()