Contents

cancel(error:)

Cancels the session.

Declaration

func cancel(error: AccessoryTransportSession.Error?)

Parameters

  • error:

    An error that indicates the reason for cancellation.