VoiceEntry

open class VoiceEntry

Return information about downloaded voice packages.

Constructors

VoiceEntry
Link copied to clipboard
open fun VoiceEntry(id: String, gender: Int, name: String, language: String, isTts: Boolean, sizeOnDisk: Long, status: Int, @Nullable permanentId: String)
Default constructor.

Types

VoiceGender
Link copied to clipboard
annotation class VoiceGender
Gender of the VoicePackage.
VoicePackageStatus
Link copied to clipboard
annotation class VoicePackageStatus
Current status of the VoicePackage.

Functions

enhanceTtsNames
Link copied to clipboard
open fun enhanceTtsNames(entries: List<VoiceEntry>)
equals
Link copied to clipboard
open fun equals(o: Any): Boolean
getGender
Link copied to clipboard
open fun getGender(): Int
Returns the VoiceGender of the voice skin.
getLanguage
Link copied to clipboard
open fun getLanguage(): String
Returns the human readable language name of the voice skin.
getName
Link copied to clipboard
open fun getName(): String
Returns the name of the voice package.
getPermanentId
Link copied to clipboard
open fun getPermanentId(): String
Returns a permanent id for a voice.
getSizeOnDisk
Link copied to clipboard
open fun getSizeOnDisk(): Long
Returns the size of the entry after unzipping to the device.
getStatus
Link copied to clipboard
open fun getStatus(): Int
Returns the VoicePackageStatus of the voice package.
hashCode
Link copied to clipboard
open fun hashCode(): Int
isTts
Link copied to clipboard
open fun isTts(): Boolean
Returns whether the voice is TextToSpeech or is not.
playSample
Link copied to clipboard
open fun playSample()
toString
Link copied to clipboard
open fun toString(): String