SDK Reference · Method
selectDefaultSSVoice
Selects the framework's default speech-synthesis voice and activates the default synthesis engine.
Declaration
public func selectDefaultSSVoice() -> STResultOverview
The current source defines Apple speech synthesis as the default engine. The default voice selection prefers the first available female US-English voice at the highest available quality.
The audio player must be initialized.
Return value
Returns .audioPlayerNotInitialized when the player is unavailable. Otherwise returns the voice-selection result.