One Logo Pool Ball
CoreMedia · IOS API REFERENCE

CMFormatDescription.Extensions.Value

struct · iOS 13.0+ · SDK 27.1

struct Value

Members (33)

static · iOS 13.0+

fieldDetail

TypeScript
static fieldDetail(fieldDetail: CMFormatDescription_Extensions_Value_FieldDetail): CMFormatDescription_Extensions_Value
Swift declaration
static func fieldDetail(_ fieldDetail: CMFormatDescription.Extensions.Value.FieldDetail) -> CMFormatDescription.Extensions.Value

Used for `.fieldDetail`

static · iOS 13.0+

qtTextColor

TypeScript
static qtTextColor(red: number, green: number, blue: number, alpha: number): CMFormatDescription_Extensions_Value
Swift declaration
static func qtTextColor(red: CGFloat, green: CGFloat, blue: CGFloat, alpha: CGFloat) -> CMFormatDescription.Extensions.Value

Used for `.backgroundColor` and `qtTextDefaultStyle`

static · iOS 13.0+

yCbCrMatrix

TypeScript
static yCbCrMatrix(yCbCrMatrix: CMFormatDescription_Extensions_Value_YCbCrMatrix): CMFormatDescription_Extensions_Value
Swift declaration
static func yCbCrMatrix(_ yCbCrMatrix: CMFormatDescription.Extensions.Value.YCbCrMatrix) -> CMFormatDescription.Extensions.Value

Used for `.yCbCrMatrix`

static · iOS 13.0+

cleanAperture

TypeScript
static cleanApertureWidthHeightHorizontalOffetVerticalOffset(width: { "numerator": number; "denominator": number }, height: { "numerator": number; "denominator": number }, horizontalOffet: { "numerator": number; "denominator": number }, verticalOffset: { "numerator": number; "denominator": number }): CMFormatDescription_Extensions_Value
Swift declaration
static func cleanAperture(width: (numerator: Int, denominator: Int), height: (numerator: Int, denominator: Int), horizontalOffet: (numerator: Int, denominator: Int), verticalOffset: (numerator: Int, denominator: Int)) -> CMFormatDescription.Extensions.Value

Used for `.cleanAperture`. Some modules only read the float-valued keys, so both the ...Rational keys and the corresponding floating-point keys are set.

static · iOS 13.0+

cleanAperture

TypeScript
static cleanApertureWidthHeightHorizontalOffetVerticalOffset31709(width: number, height: number, horizontalOffet: number, verticalOffset: number): CMFormatDescription_Extensions_Value
Swift declaration
static func cleanAperture<Width, Height, Horizontal, Vertical>(width: Width, height: Height, horizontalOffet: Horizontal, verticalOffset: Vertical) -> CMFormatDescription.Extensions.Value where Width : Numeric, Height : Numeric, Horizontal : Numeric, Vertical : Numeric

Used for `.cleanAperture`

static · iOS 13.0+

chromaLocation

TypeScript
static chromaLocation(chromaLocation: CMFormatDescription_Extensions_Value_ChromaLocation): CMFormatDescription_Extensions_Value
Swift declaration
static func chromaLocation(_ chromaLocation: CMFormatDescription.Extensions.Value.ChromaLocation) -> CMFormatDescription.Extensions.Value

Used for `.chromaLocationTopField` and `chromaLocationBottomField`

static · iOS 13.0+

colorPrimaries

TypeScript
static colorPrimaries(colorPrimaries: CMFormatDescription_Extensions_Value_ColorPrimaries): CMFormatDescription_Extensions_Value
Swift declaration
static func colorPrimaries(_ colorPrimaries: CMFormatDescription.Extensions.Value.ColorPrimaries) -> CMFormatDescription.Extensions.Value

Used for `.colorPrimaries`

static · iOS 26.0+

projectionKind

TypeScript
static projectionKind(projectionKind: CMFormatDescription_Extensions_Value_ProjectionKind): CMFormatDescription_Extensions_Value
Swift declaration
static func projectionKind(_ projectionKind: CMFormatDescription.Extensions.Value.ProjectionKind) -> CMFormatDescription.Extensions.Value
static · iOS 26.0+

viewPackingKind

TypeScript
static viewPackingKind(viewPackingKind: CMFormatDescription_Extensions_Value_ViewPackingKind): CMFormatDescription_Extensions_Value
Swift declaration
static func viewPackingKind(_ viewPackingKind: CMFormatDescription.Extensions.Value.ViewPackingKind) -> CMFormatDescription.Extensions.Value
static · iOS 13.0+

alphaChannelMode

TypeScript
static alphaChannelMode(alphaChannelMode: CMFormatDescription_Extensions_Value_AlphaChannelMode): CMFormatDescription_Extensions_Value
Swift declaration
static func alphaChannelMode(_ alphaChannelMode: CMFormatDescription.Extensions.Value.AlphaChannelMode) -> CMFormatDescription.Extensions.Value

Used for `.alphaChannelMode`

static · iOS 13.0+

pixelAspectRatio

TypeScript
static pixelAspectRatio(horizontalSpacing: number, verticalSpacing: number): CMFormatDescription_Extensions_Value
Swift declaration
static func pixelAspectRatio<Horizontal, Vertical>(horizontalSpacing: Horizontal, verticalSpacing: Vertical) -> CMFormatDescription.Extensions.Value where Horizontal : Numeric, Vertical : Numeric

Used for `.pixelAspectRatio`

static · iOS 13.0+

textDisplayFlags

TypeScript
static textDisplayFlags(textDisplayFlags: Array<CMFormatDescription_Extensions_Value_TextDisplayFlags>): CMFormatDescription_Extensions_Value
Swift declaration
static func textDisplayFlags(_ textDisplayFlags: Set<CMFormatDescription.Extensions.Value.TextDisplayFlags>) -> CMFormatDescription.Extensions.Value

Used for `.displayFlags`

static · iOS 13.0+

transferFunction

TypeScript
static transferFunction(transferFunction: CMFormatDescription_Extensions_Value_TransferFunction): CMFormatDescription_Extensions_Value
Swift declaration
static func transferFunction(_ transferFunction: CMFormatDescription.Extensions.Value.TransferFunction) -> CMFormatDescription.Extensions.Value

Used for `.transferFunction` or `alternativeTransferCharacteristics`

static · iOS 13.0+

mpeg2VideoProfile

TypeScript
static mpeg2VideoProfile(mpeg2VideoProfile: CMFormatDescription_Extensions_Value_MPEG2VideoProfile): CMFormatDescription_Extensions_Value
Swift declaration
static func mpeg2VideoProfile(_ mpeg2VideoProfile: CMFormatDescription.Extensions.Value.MPEG2VideoProfile) -> CMFormatDescription.Extensions.Value

Used for `.conformsToMPEG2VideoProfile`

static · iOS 13.0+

textJustification

TypeScript
static textJustification(textJustification: CMFormatDescription_Extensions_Value_TextJustification): CMFormatDescription_Extensions_Value
Swift declaration
static func textJustification(_ textJustification: CMFormatDescription.Extensions.Value.TextJustification) -> CMFormatDescription.Extensions.Value

Used for `.horizontalJustification`, `.verticalJustification` (`.mobile3GPP`) or `.textJustification` (`.qt`)

static · iOS 13.0+

qtTextDefaultStyle

TypeScript
static qtTextDefaultStyle(startChar: number, height: number, ascent: number, localFontID: number, fontFace: CMFormatDescription_Extensions_Value_FontFace, fontSize: number, foregroundColor: CMFormatDescription_Extensions_Value, defaultFontName?: (string) | null): CMFormatDescription_Extensions_Value
Swift declaration
static func qtTextDefaultStyle(startChar: Int, height: Int, ascent: Int, localFontID: Int, fontFace: CMFormatDescription.Extensions.Value.FontFace, fontSize: Int, foregroundColor: CMFormatDescription.Extensions.Value, defaultFontName: String?) -> CMFormatDescription.Extensions.Value

Used for `.defaultStyle`

static · iOS 26.0+

logTransferFunction

TypeScript
static logTransferFunction(logTransferFunction: CMFormatDescription_Extensions_Value_LogTransferFunction): CMFormatDescription_Extensions_Value
Swift declaration
static func logTransferFunction(_ logTransferFunction: CMFormatDescription.Extensions.Value.LogTransferFunction) -> CMFormatDescription.Extensions.Value
static · iOS 13.0+

mobile3GPPTextColor

TypeScript
static mobile3GPPTextColor(red: number, green: number, blue: number, alpha: number): CMFormatDescription_Extensions_Value
Swift declaration
static func mobile3GPPTextColor(red: CGFloat, green: CGFloat, blue: CGFloat, alpha: CGFloat) -> CMFormatDescription.Extensions.Value

Used for `.backgroundColor` and `mobile3GPPTextDefaultStyle`

static · iOS 13.0+

sourceReferenceName

TypeScript
static sourceReferenceName(value: string, langCode: number): CMFormatDescription_Extensions_Value
Swift declaration
static func sourceReferenceName(value: String, langCode: Int) -> CMFormatDescription.Extensions.Value

Used for `.sourceReferenceName`

static · iOS 13.0+

mobile3GPPTextDefaultStyle

TypeScript
static mobile3GPPTextDefaultStyle(startChar: number, endChar: number, localFontID: number, fontFace: CMFormatDescription_Extensions_Value_FontFace, fontSize: number, foregroundColor: CMFormatDescription_Extensions_Value): CMFormatDescription_Extensions_Value
Swift declaration
static func mobile3GPPTextDefaultStyle(startChar: Int, endChar: Int, localFontID: Int, fontFace: CMFormatDescription.Extensions.Value.FontFace, fontSize: Int, foregroundColor: CMFormatDescription.Extensions.Value) -> CMFormatDescription.Extensions.Value

Used for `.defaultStyle`

get · iOS 13.0+

propertyListRepresentation

TypeScript
get propertyListRepresentation(): unknown
Swift declaration
var propertyListRepresentation: CFPropertyList

The underlying representation of a `Value`

set · iOS 13.0+

propertyListRepresentation

TypeScript
set propertyListRepresentation(value: unknown)
Swift declaration
var propertyListRepresentation: CFPropertyList

The underlying representation of a `Value`

static · iOS 26.0+

cameraCalibrationDataLensCollection

TypeScript
static cameraCalibrationDataLensCollection(value: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection): CMFormatDescription_Extensions_Value
Swift declaration
static func cameraCalibrationDataLensCollection(_ value: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection) -> CMFormatDescription.Extensions.Value
static · iOS 15.0+

data

TypeScript
static data(value: _CoreFoundation_CFData): CMFormatDescription_Extensions_Value
Swift declaration
static func data(_ value: CFData) -> CMFormatDescription.Extensions.Value
static · iOS 13.0+

number

TypeScript
static number(value: number): CMFormatDescription_Extensions_Value
Swift declaration
static func number<T>(_ value: T) -> CMFormatDescription.Extensions.Value where T : Numeric
static · iOS 13.0+

string

TypeScript
static string(value: string): CMFormatDescription_Extensions_Value
Swift declaration
static func string(_ value: String) -> CMFormatDescription.Extensions.Value
static · iOS 13.0+

string

TypeScript
static string48031(value: _CoreFoundation_CFString): CMFormatDescription_Extensions_Value
Swift declaration
static func string(_ value: CFString) -> CMFormatDescription.Extensions.Value
static · iOS 13.0+

vendor

TypeScript
static vendor(vendor: CMFormatDescription_Extensions_Value_Vendor): CMFormatDescription_Extensions_Value
Swift declaration
static func vendor(_ vendor: CMFormatDescription.Extensions.Value.Vendor) -> CMFormatDescription.Extensions.Value

Used for `.vendor`

static · iOS 13.0+

vendor

TypeScript
static vendor87354(fourCC: string): CMFormatDescription_Extensions_Value
Swift declaration
static func vendor(_ fourCC: String) -> CMFormatDescription.Extensions.Value

Used for `.vendor`

static · iOS 26.0+

heroEye

TypeScript
static heroEye(heroEye: CMFormatDescription_Extensions_Value_HeroEye): CMFormatDescription_Extensions_Value
Swift declaration
static func heroEye(_ heroEye: CMFormatDescription.Extensions.Value.HeroEye) -> CMFormatDescription.Extensions.Value
static · iOS 13.0+

textRect

TypeScript
static textRect(top: number, left: number, bottom: number, right: number): CMFormatDescription_Extensions_Value
Swift declaration
static func textRect(top: Int, left: Int, bottom: Int, right: Int) -> CMFormatDescription.Extensions.Value

Used for `.defaultTextBox`

static · iOS 13.0+

fontTable

TypeScript
static fontTable(fontTable: Record<number, string>): CMFormatDescription_Extensions_Value
Swift declaration
static func fontTable(_ fontTable: [Int : String]) -> CMFormatDescription.Extensions.Value

Used for `.fontTable`

init · iOS 13.0+

init

TypeScript
static init(plist: unknown): CMFormatDescription_Extensions_Value
Swift declaration
init(_ plist: CFPropertyList)

Creates a `Value` from a `CFPropertyList`.

Skipped declarations

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

CMFormatDescription.Extensions.Value.FieldDetail

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.FieldDetail' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.ColorPrimaries

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.ColorPrimaries' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.TransferFunction

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.TransferFunction' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.YCbCrMatrix

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.YCbCrMatrix' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.ChromaLocation

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.ChromaLocation' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.Vendor

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.Vendor' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.AlphaChannelMode

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.AlphaChannelMode' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.LogTransferFunction

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.LogTransferFunction' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.HeroEye

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.HeroEye' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.ContentColorVolume

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.ContentColorVolume' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.ProjectionKind

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.ProjectionKind' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.ViewPackingKind

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.ViewPackingKind' does not conform to protocol 'OneSDKNamedConstants'

All CoreMedia types →