sendResponse(_:withOK:)
Sends data followed by an optional success message to a connected Bluetooth hands-free phone or headset.
Declaration
func sendResponse(_ response: String!, withOK: Bool)Parameters
- response:
A string containing the data.
- withOK:
If
true, send anOKmessage after sending the response.