---
title: "init(rawValue:)"
framework: corehaptics
role: symbol
role_heading: Initializer
path: "corehaptics/chhapticevent/parameterid/init(rawvalue:)"
---

# init(rawValue:)

Creates the identifier of a haptic event parameter with the specified string value.

## Declaration

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

## Parameters

- `rawValue`: The raw string value of the haptic event parameter’s identifier.
