Creates a timed metadata group with a sample buffer.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- AVFoundation
Declaration
init?(sampleBuffer: CMSample Buffer)
Parameters
sampleBuffer
A
CMSample
with media typeBuffer k
.CMMedia Type _Metadata
Return Value
An instance of AVTimed
.