<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 18.2.0 -",
    "macOS: 12.3.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ScreenCaptureKit",
  "identifier" : "/documentation/ScreenCaptureKit/SCStreamFrameInfo/init(rawValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ScreenCaptureKit"
    ],
    "preciseIdentifier" : "s:So17SCStreamFrameInfoa8rawValueABSS_tcfc"
  },
  "title" : "init(rawValue:)"
}
-->

# init(rawValue:)

Creates a new instance with a raw value.

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

## Parameters

`rawValue`

The raw value to use for the new instance.

## Discussion> Important:
> Use the static properties of ``doc://com.apple.screencapturekit/documentation/ScreenCaptureKit/SCStreamFrameInfo`` such as ``doc://com.apple.screencapturekit/documentation/ScreenCaptureKit/SCStreamFrameInfo/status`` or ``doc://com.apple.screencapturekit/documentation/ScreenCaptureKit/SCStreamFrameInfo/contentRect`` instead of creating an instance with this initializer.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)