stop(completionHandler:)
Asynchronously stops the haptic engine and executes the completion handler once the engine has stopped.
Declaration
func stop(completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)func stop() async throwsParameters
- completionHandler:
The completion handler to execute after the engine stops.