Voice class Core

Voice information object.

Provides metadata about a voice asset: its name, language and file location. Returned voices can be used with TTS and playback APIs.

It is usually obtained via SdkSettings.getVoice after setting the desired voice using SdkSettings.setVoiceByPath or SdkSettings.setTTSVoiceByLanguage.

Also see:

Properties

fileName String
Returns the absolute file path for the voice asset on the device.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasRegisteredAutoReleaseObject bool
getter/setter pairinherited
id int
Returns the internal identifier for this voice.
no setter
language Language
Returns the Language associated with this voice.
no setter
name String
Returns the human-readable name of the voice.
no setter
pointerId int
The pointer ID of the native object
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type VoiceType
Returns the voice type (VoiceType) indicating human or computer voice.
no setter

Methods

dispose() → void
Disposes the native object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited