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

# init(rawValue:)

Creates and returns a new structure with the specified value.

## Declaration

```swift
init(rawValue: UInt)
```

## Parameters

- `rawValue`: The value for the new type.
