Skip to content

ListVoicesOptions

Options for listVoices.

optional locale?: string

Keep only voices that can serve this BCP 47 tag.


optional localeMatch?: LocaleMatch

How locale compares, with the same meaning as on a request. Defaults to "language".