One Logo Pool Ball
CoreMedia · IOS API REFERENCE

CMTaggedBuffer

struct · iOS 17.0+ · SDK 27.1

struct CMTaggedBuffer

CMTaggedBuffer contains an array of CMTags and a buffer.

Members (6)

get · iOS 17.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

init · iOS 17.0+

init

TypeScript
static initTagsPixelBuffer(tags: Array<CMTag>, pixelBuffer: _CoreVideo_CVBuffer): CMTaggedBuffer
Swift declaration
init(tags: [CMTag], pixelBuffer: CVPixelBuffer)

Initializes a CMTaggedBuffer instance with the specified tags and a CVPixelBuffer. - Parameters: - tags: The tags to use. - pixelBuffer: The pixel buffer to use.

init · iOS 17.0+

init

TypeScript
static initTagsSampleBuffer(tags: Array<CMTag>, sampleBuffer: CMSampleBuffer): CMTaggedBuffer
Swift declaration
init(tags: [CMTag], sampleBuffer: CMSampleBuffer)

Initializes a CMTaggedBuffer instance with the specified tags and a CMSampleBuffer. - Parameters: - tags: The tags to use. - sampleBuffer: The sample buffer to use.

init · iOS 17.0+

init

TypeScript
static initTagsBuffer(tags: Array<CMTag>, buffer: CMTaggedBuffer_Buffer): CMTaggedBuffer
Swift declaration
init(tags: [CMTag], buffer: CMTaggedBuffer.Buffer)

Initializes a CMTaggedBuffer instance with the specified tags and buffer. - Parameters: - tags: The tags to use. - buffer: The buffer to use.

get · iOS 17.0+

tags

TypeScript
get tags(): Array<CMTag>
Swift declaration
let tags: [CMTag]

A tag array associated with the buffer.

get · iOS 17.0+

buffer

TypeScript
get buffer(): CMTaggedBuffer_Buffer
Swift declaration
let buffer: CMTaggedBuffer.Buffer

Buffer associated with the tags.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreMedia types →