events(matching:)
Returns an asynchronous list of events that match the provided criteria.
Declaration
func events(matching criteria: [AAUSBAccessoryMatchingCriteria]) async throws -> some AsyncSequence<AAUSBAccessory.Event, Never>
Parameters
- criteria:
An array of Aausbaccessorymatchingcriteria to use to filter events.