VoiceControllerDelegate
The VoiceControllerDelegate protocol defines methods that allow an object to respond to significant events related to spoken instructions.
-
voiceController(_:didFallBackTo:error:)Default implementationCalled when the voice controller falls back to a backup speech syntehsizer, but is still able to speak the instruction.
Note
This delegate method includes a default implementation that prints a warning to the console when this method is called. SeeUnimplementedLoggingfor details.Default Implementation
-
voiceController(_:spokenInstructionsDidFailWith:)Default implementationCalled when the voice controller failed to speak an instruction.
Note
This delegate method includes a default implementation that prints a warning to the console when this method is called. SeeUnimplementedLoggingfor details.Default Implementation
-
voiceController(_:didInterrupt:with:)Default implementationCalled when one spoken instruction interrupts another instruction currently being spoken.
Note
This delegate method includes a default implementation that prints a warning to the console when this method is called. SeeUnimplementedLoggingfor details.Default Implementation
-
voiceController(_:willSpeak:routeProgress:)Default implementationCalled when a spoken is about to speak. Useful if it is necessary to give a custom instruction instead. Noting, changing the
distanceAlongStepproperty onSpokenInstructionwill have no impact on when the instruction will be said.Note
This delegate method includes a default implementation that prints a warning to the console when this method is called. SeeUnimplementedLoggingfor details.Default Implementation
Install in Dash
VoiceControllerDelegate Protocol Reference