send(data:)
Sends data to the transport extension within a session.
Declaration
final func send(data: Data) async throwsParameters
- data:
The data to send.
Discussion
The Accessory Transport Extension framework doesn’t add additional encryption to the data, so take steps to protect sensitive data before you send it.