iOS reference / CoreMedia / CMFormatDescription.Extensions.Value.ContentColorVolumeCoreMedia · IOS API REFERENCE
CMFormatDescription.Extensions.Value.ContentColorVolume struct · iOS 26.0+ · SDK 27.1
struct ContentColorVolumeMembers (11) get · iOS 26.0+ rawValue TypeScript getRawValue($self: CMFormatDescription_Extensions_Value_ContentColorVolume): CMFormatDescription_Extensions_ValueSwift declaration var rawValue: CMFormatDescription.Extensions.Value { get }The corresponding value of the raw type.
A new instance initialized with `rawValue` will be equivalent to this
instance. For example:
enum PaperSize: String {
case A4, A5, Letter, Legal
}
let selectedSize = PaperSize.Letter
print(selectedSize.rawValue)
// Prints "Letter"
print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)
// Prints "true"
init · iOS 26.0+ init TypeScript initRawValue(rawValue: CMFormatDescription_Extensions_Value): (CMFormatDescription_Extensions_Value_ContentColorVolume) | nullSwift declaration init?(rawValue: CMFormatDescription.Extensions.Value)Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw
value, this initializer returns `nil`. For example:
enum PaperSize: String {
case A4, A5, Letter, Legal
}
print(PaperSize(rawValue: "Legal"))
// Prints "Optional(PaperSize.Legal)"
print(PaperSize(rawValue: "Tabloid"))
// Prints "nil"
- Parameter rawValue: The raw value to use for the new instance.
init · iOS 26.0+ init TypeScript initColorPrimariesMinimumLuminanceMaximumLuminanceAverageLuminance(colorPrimaries?: (CMFormatDescription_Extensions_Value_ContentColorVolume_ColorPrimaries) | null, minimumLuminance?: (number) | null, maximumLuminance?: (number) | null, averageLuminance?: (number) | null): CMFormatDescription_Extensions_Value_ContentColorVolumeSwift declaration init(colorPrimaries: CMFormatDescription.Extensions.Value.ContentColorVolume.ColorPrimaries? = nil, minimumLuminance: UInt32? = nil, maximumLuminance: UInt32? = nil, averageLuminance: UInt32? = nil)get · iOS 26.0+ colorPrimaries TypeScript getColorPrimaries($self: CMFormatDescription_Extensions_Value_ContentColorVolume): (CMFormatDescription_Extensions_Value_ContentColorVolume_ColorPrimaries) | nullSwift declaration var colorPrimaries: CMFormatDescription.Extensions.Value.ContentColorVolume.ColorPrimaries?set · iOS 26.0+ colorPrimaries TypeScript setColorPrimaries($self: CMFormatDescription_Extensions_Value_ContentColorVolume, value?: (CMFormatDescription_Extensions_Value_ContentColorVolume_ColorPrimaries) | null): voidSwift declaration var colorPrimaries: CMFormatDescription.Extensions.Value.ContentColorVolume.ColorPrimaries?get · iOS 26.0+ averageLuminance TypeScript getAverageLuminance($self: CMFormatDescription_Extensions_Value_ContentColorVolume): (number) | nullSwift declaration var averageLuminance: UInt32?set · iOS 26.0+ averageLuminance TypeScript setAverageLuminance($self: CMFormatDescription_Extensions_Value_ContentColorVolume, value?: (number) | null): voidSwift declaration var averageLuminance: UInt32?get · iOS 26.0+ maximumLuminance TypeScript getMaximumLuminance($self: CMFormatDescription_Extensions_Value_ContentColorVolume): (number) | nullSwift declaration var maximumLuminance: UInt32?set · iOS 26.0+ maximumLuminance TypeScript setMaximumLuminance($self: CMFormatDescription_Extensions_Value_ContentColorVolume, value?: (number) | null): voidSwift declaration var maximumLuminance: UInt32?get · iOS 26.0+ minimumLuminance TypeScript getMinimumLuminance($self: CMFormatDescription_Extensions_Value_ContentColorVolume): (number) | nullSwift declaration var minimumLuminance: UInt32?set · iOS 26.0+ minimumLuminance TypeScript setMinimumLuminance($self: CMFormatDescription_Extensions_Value_ContentColorVolume, value?: (number) | null): voidSwift declaration var minimumLuminance: UInt32?Skipped declarations 1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CMFormatDescription.Extensions.Value.ContentColorVolume
The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.ContentColorVolume' does not conform to protocol 'OneSDKNamedConstants'
All CoreMedia types →