init(_:)
Initializes a notifications-forwarding capability with a handler factory.
Declaration
init(_ handlerFactory: @escaping @Sendable () -> any NotificationsForwarding.AccessoryNotificationsHandler)Parameters
- handlerFactory:
A closure that creates and returns an Accessorynotificationshandler instance.