VoiceUiModel

data class VoiceUiModel(val name: String, val language: String, val installed: Boolean, val preinstalled: Boolean, val selected: Boolean, val downloadProgress: Int? = null)

UI model representing a single voice package.

Parameters

name

Display name of the voice.

language

Language code (e.g. "ru", "en").

installed

Whether the voice is installed on the device.

preinstalled

Whether the voice is preinstalled and cannot be removed.

selected

Whether the voice is currently selected for navigation.

downloadProgress

Download progress percentage (0–100), or null if not downloading.

Constructors

Link copied to clipboard
constructor(name: String, language: String, installed: Boolean, preinstalled: Boolean, selected: Boolean, downloadProgress: Int? = null)

Properties

Link copied to clipboard
val downloadProgress: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard