sendResponse(_:)
Sends a notification response from the accessory to the system.
Declaration
func sendResponse(_ response: NotificationResponse) async throwsParameters
- response:
The notification response from the accessory.
Discussion
After receiving a message through messageHandler(_:), parse the accessory’s response and create a NotificationResponse instance. Call this method to deliver the response to the system for handling.