VoiceControllerDelegate

The VoiceControllerDelegate protocol defines methods that allow an object to respond to significant events related to spoken instructions.

  • Called 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. See UnimplementedLogging for details.

    Default Implementation

  • Called 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. See UnimplementedLogging for details.

    Default Implementation

  • voiceController(_:didInterrupt:with:) Default implementation

    Called 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. See UnimplementedLogging for details.

    Default Implementation

  • Called when a spoken is about to speak. Useful if it is necessary to give a custom instruction instead. Noting, changing the distanceAlongStep property on SpokenInstruction will 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. See UnimplementedLogging for details.

    Default Implementation