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
UnimplementedLoggingprints a warning to standard output the first time this method is called.Declaration
Swift
func routeVoiceController(_ routeVoiceController: RouteVoiceController, encountered error: SpeechError)Parameters
routeVoiceControllerThe route voice controller that experienced the failure.
errorAn error explaining the failure and its cause.
Install in Dash
RouteVoiceControllerDelegate Protocol Reference