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

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

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

# onSegments

[common]\
abstract fun [onSegments](onSegments.md)(segments: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[SpeakerSegment](../SpeakerSegment/index.md)&gt;)

The speakers' turns in time order; a clip with no speech answers an empty list.