Contents

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 an OK message after sending the response.

See Also

Sending and Receiving Commands