ArcGIS for Developers

Voice QML Type

Values of a particular voice. More...

Import Statement: import ArcGIS.AppFramework.Speech 1.0

Properties

Detailed Description

The Voice component contains details of the text-to-speech voice provided by the device.

Voice is a singleton component, and does not need to be instantiated. It is also a read-only component, and cannot alter any of the properties it returns.

Enumerations

Gender enumeration

This enum describes the possible gender options for a voice. It informs the gender property.

NameValue
Voice.Male0
Voice.Female1
Voice.Unknown2

Age enumeration

This enum describes the age of the voice. It informs the age property.

NameValue
Voice.Child0
Voice.Teenager1
Voice.Adult2
Voice.Senior3
Voice.Other4

Property Documentation

[read-only] age : Age

Returns the age of the voice. This is informed by the Age enum.


[read-only] gender : Gender

Returns the gender of a voice. This is informed by the Gender enum.


[read-only] name : string

Returns the name of a voice.