---
title: "init(rawValue:)"
framework: sensorkit
role: symbol
role_heading: Initializer
path: "sensorkit/srphotoplethysmogramsample/usage-swift.struct/init(rawvalue:)"
---

# init(rawValue:)

Initializes a PPG usage structure.

## Declaration

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

## Parameters

- `rawValue`: The raw value for the structure.
