One Logo Pool Ball
CoreVideo · IOS API REFERENCE

CVAttachmentRawValue

struct · iOS 27.0+ · SDK 27.1

struct CVAttachmentRawValue

A lightweight wrapper around raw attachment values. This type encapsulates a raw attachment value and provides dictionary-like access to its content. The ``subscript(key:)-(String)`` allows access to internal values in a type safe way.

Members (2)

init · iOS 27.0+

init

TypeScript
static init(): CVAttachmentRawValue
Swift declaration
init()

Creates an empty raw attachment value.

subscript · iOS 27.0+

subscript

TypeScript
subscript(key: string, type?: "Bool" | "Int" | "UInt" | "Double" | "Float" | "String" | "CGFloat" | "Date" | "URL" | "Data" | "UUID"): (unknown) | null
Swift declaration
subscript<Value>(key: String, as type: Value.Type = Value.self) -> Value? where Value : CVAttachmentValueRepresentable { get set }

Get or set value associated with the specified key.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CVAttachmentRawValue.init(dictionaryLiteral:)

A variable number of Swift arguments is not supported.

All CoreVideo types →