RouteVoiceControllerDelegate
public protocol RouteVoiceControllerDelegate : AnyObject, UnimplementedLogging
The RouteVoiceControllerDelegate
protocol defines methods that allow an object to respond to significant events related to route vocalization
-
routeVoiceController(_:encountered:)
Default implementationCalled when the route voice controller reports an error
Default Implementation
UnimplementedLogging
prints a warning to standard output the first time this method is called.Declaration
Swift
func routeVoiceController(_ routeVoiceController: RouteVoiceController, encountered error: SpeechError)
Parameters
routeVoiceController
The route voice controller that experienced the failure.
error
An error explaining the failure and its cause.