Contents

send(message:)

Sends a message to the transport extension.

Declaration

final func send(message: AccessoryMessage) async throws

Parameters

  • 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.

See Also

Sending data