Contents

start(completionHandler:)

Asynchronously starts the haptic engine.

Declaration

func start(completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)
func start() async throws

Parameters

  • completionHandler:

    The closure the system calls to indicate whether the server started successfully or encountered an error.

Discussion

See Also

Starting and Stopping the Haptic Engine