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

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

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

# SpeakerSegment

[common]\
data class [SpeakerSegment](index.md)(val speaker: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val startMs: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), val endMs: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html))

One speaker's turn: who ([speaker](speaker.md), a 0-based index the model assigns) spoke from [startMs](startMs.md) to [endMs](endMs.md).

## Constructors

| | |
|---|---|
| [SpeakerSegment](SpeakerSegment.md) | [common]<br>constructor(speaker: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), startMs: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), endMs: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [endMs](endMs.md) | [common]<br>val [endMs](endMs.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |
| [speaker](speaker.md) | [common]<br>val [speaker](speaker.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [startMs](startMs.md) | [common]<br>val [startMs](startMs.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |