---
title: "init(rawValue:)"
framework: corebluetooth
role: symbol
role_heading: Initializer
path: "corebluetooth/cbconnectioneventmatchingoption/init(rawvalue:)"
---

# init(rawValue:)

Creates a matching option from the provided raw value.

## Declaration

```swift
init(rawValue: String)
```
