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

# init(rawValue:)

Creates a new instance with a raw value.

## Declaration

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

## Parameters

- `rawValue`: The raw value to use for the new instance.

## Discussion

Discussion important: Use the static properties of SCStreamFrameInfo such as status or contentRect instead of creating an instance with this initializer.
