Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IVoice

interface IVoice
Extends com.amazon.apmf.IStandard Interface representing characteristics of a synthetic TTS voice. This interface encapsulates all features and parameters characteristic for a specific synthetic voice. It includes the voice’s name, provider, and supported technical capabilities.

Methods

getId()

VoiceId getId()
Retrieves the unique identifier for the voice.

Returns

VoiceId The identifier of the voice encapsulated in a VoiceId object.

getName()

string getName()
Fetches the name of the voice. This function retrieves the name of the voice object it’s called on. This name serves as a unique identifier for the voice for the particular provider and can be used for voice-specific operations or voice selection.

Returns

string Name of the voice.

getVoiceCapabilities()

IVoiceCapabilities* getVoiceCapabilities()
Fetches the voice capabilities. This function retrieves an IVoiceCapabilities instance describing the technical capabilities of the voice. These capabilities include all the supported locales, sample rates, speech rates, and operating modes.

Returns

IVoiceCapabilities* Voice capabilities.

getProvider()

IVoiceProvider* getProvider()
Fetches the provider of the voice. This function retrieves the IVoiceProvider object linked to the voice. This object represents the entity responsible for the voice and can be crucial for certain provider-specific tasks.

Returns

IVoiceProvider* Voice’s provider.
Last modified on October 29, 2026