Returns an immutable dictionary containing all the extensions of a CMFormat
.
SDKs
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
Framework
- Core Media
Declaration
CFDictionary Ref CMFormatDescriptionGetExtensions(CMFormat Description Ref desc);
Parameters
desc
CMFormat
being interrogatedDescription
Return Value
An immutable dictionary containing all the extensions of the CMFormat
. May be NULL
.
Discussion
If there are no extensions, NULL
is returned. Extensions dictionaries are valid property list objects. This means that dictionary keys are all CFStrings
, and the values are all either CFNumber
, CFString
, CFBoolean
, CFArray
, CFDictionary
, CFDate
, or CFData
. The returned dictionary is not retained by this call, so clients are required to retain it if they need to keep it longer.