send(message:)
Sends a message to the transport extension.
Declaration
final func send(message: AccessoryMessage) async throwsParameters
- message:
An accessory message.
Discussion
This method conforms to AccessoryFeatureSession but always throws AccessoryTransportSession.Error.unsupported; call send(data:) instead to send data to the transport extension.