Drafts Script Reference
    Preparing search index...

    Class SpeechVoice

    See Speech documentation for example usage.

    Index

    Constructors

    Properties

    Constructors

    Properties

    id: string

    Unique identifier for the voice.

    language: string

    BCP 47 style locale identifier for the language, country the voice is intended for use with. Examples: en-US (US English), es-MX (Mexican Spanish).

    name: string

    Friendly name for the voice. Typically this is a common name like "Samantha" and is provided by the OS.