unexpectedPhraseAggregator property

SpeechPhraseAggregator? unexpectedPhraseAggregator
getter/setter pair

This overrides the default phrase aggregator to allow for different strategies for aggregating multiple phrases into a single result. This is used when the platform unexpectedly returns multiple phrases for a single utterance. Currently this happens only due to a bug in iOS 17.5/18

Implementation

SpeechPhraseAggregator? unexpectedPhraseAggregator;