<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreBluetooth",
  "identifier" : "/documentation/CoreBluetooth/CBConnectionEventMatchingOption",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Bluetooth"
    ],
    "preciseIdentifier" : "c:@T@CBConnectionEventMatchingOption"
  },
  "title" : "CBConnectionEventMatchingOption"
}
-->

# CBConnectionEventMatchingOption

A set of options to use when registering for connection events.

```
struct CBConnectionEventMatchingOption
```

## Topics

### Creating a Matching Option Instance

[`init(rawValue:)`](/documentation/CoreBluetooth/CBConnectionEventMatchingOption/init(rawValue:))

Creates a matching option from the provided raw value.

### Matching Options

[`CBConnectionEventMatchingOptionPeripheralUUIDs`](/documentation/CoreBluetooth/CBConnectionEventMatchingOption/peripheralUUIDs)

An array of UUID objects that represents peripherals to match.

[`CBConnectionEventMatchingOptionServiceUUIDs`](/documentation/CoreBluetooth/CBConnectionEventMatchingOption/serviceUUIDs)

An array that represents service identifiers to match.

## Relationships

### Conforms To

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

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

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

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

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

---

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)