<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessoryAccess",
  "identifier" : "/documentation/AccessoryAccess/AAUSBAccessoryMatchingCriteria/InterfaceMatchingOption",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Accessory Access",
      "AccessoryAccess"
    ],
    "preciseIdentifier" : "c:@E@AAUSBAccessoryMatchingCriteriaInterfaceMatchingOption"
  },
  "title" : "AAUSBAccessoryMatchingCriteria.InterfaceMatchingOption"
}
-->

# AAUSBAccessoryMatchingCriteria.InterfaceMatchingOption

Values that represent options for performing interface matching using interface matching criteria.

```
enum InterfaceMatchingOption
```

## Creating interface matching option

[`init?(rawValue: Int)`](/documentation/AccessoryAccess/AAUSBAccessoryMatchingCriteria/InterfaceMatchingOption/init(rawValue:))

Initializes a new interface matching option with the provided value.

## Matching options

[`case matchAll`](/documentation/AccessoryAccess/AAUSBAccessoryMatchingCriteria/InterfaceMatchingOption/matchAll)

A value that indicates the match needs to be all inclusive of the provided interface criteria.

[`case matchAny`](/documentation/AccessoryAccess/AAUSBAccessoryMatchingCriteria/InterfaceMatchingOption/matchAny)

A value that indicates that the match needs to cover at least one of the provided interface criteria.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)