//clika-runtime/io.clika.modelverse/TranscribeReport
TranscribeReport
[common]
data class TranscribeReport(val latencyMs: Float, val accelerator: String, val canceled: Boolean, val language: String? = null)
The outcome of one transcription, delivered once through TranscribeListener.onDone.
Constructors
| TranscribeReport | [common] constructor(latencyMs: Float, accelerator: String, canceled: Boolean, language: String? = null) |
Properties
| Name | Summary |
|---|---|
| accelerator | [common] val accelerator: String The compute the request ran on, as the compute API's name ( CPU; an accelerator among several carries its ordinal, CUDA:1). |
| canceled | [common] val canceled: Boolean True when TranscribeHandle.cancel ended the transcription before the clip's end. |
| language | [common] val language: String? = null The language the clip was read in, as an ISO code ( ko): the one TranscribeOptions.language named, else the one the model detected; null when the model names none. |
| latencyMs | [common] val latencyMs: Float The whole clip, in milliseconds. |