A single locale with a name, localized to the current system locale,
and a localeId which can be used in the SpeechToText.listen method to choose a
locale for speech recognition.
Options for the listen method. Previously options were provided as
separate parameters to listen however as the number of options grew
this became unwieldy. The options are now provided as a single object
with named parameters. The old style is still supported but deprecated.
If both are used the old style arguments are ignored.
Aggregates multiple phrases into a single result. This is used when
the platform returns multiple phrases for a single utterance. The default
behaviour is to concatenate the phrases into a single result with spaces
separating the phrases and no change to capitalization. This can
be overridden to provide a different aggregation strategy.
see _defaultPhraseAggregator for the default implementation.