VoiceEntry

open class VoiceEntry

Return information about downloaded voice packages.

Constructors

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

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

Functions

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