init
TypeScriptinitRawValue(rawValue: number): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationinit(rawValue: Int32)struct · iOS 13.0+ · SDK 27.1
struct MPEG2VideoProfileinitRawValue(rawValue: number): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationinit(rawValue: Int32)initRawValue25131(rawValue: SDKHandle): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationinit(rawValue: FourCharCode)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.
getRawValue($self: CMFormatDescription_Extensions_Value_MPEG2VideoProfile): SDKHandleSwift declarationvar rawValue: FourCharCodeThe 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"
setRawValue($self: CMFormatDescription_Extensions_Value_MPEG2VideoProfile, value: SDKHandle): voidSwift declarationvar rawValue: FourCharCodeThe 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"
get hdv_720p24(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_720p24: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget hdv_720p25(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_720p25: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget hdv_720p30(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_720p30: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget hdv_720p50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_720p50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget hdv_720p60(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_720p60: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget hdv_1080i50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_1080i50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget hdv_1080i60(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_1080i60: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget hdv_1080p24(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_1080p24: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget hdv_1080p25(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_1080p25: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget hdv_1080p30(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let hdv_1080p30: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD_540p(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD_540p: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_540p(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_540p: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_720p24_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_720p24_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_720p25_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_720p25_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_720p30_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_720p30_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_720p50_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_720p50_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_720p60_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_720p60_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_1080i50_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_1080i50_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_1080i60_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_1080i60_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_1080p24_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_1080p24_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_1080p25_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_1080p25_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_EX_1080p30_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_EX_1080p30_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD_1080i50_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD_1080i50_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD_1080i60_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD_1080i60_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD_1080p24_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD_1080p24_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD_1080p25_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD_1080p25_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD_1080p30_VBR35(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD_1080p30_VBR35: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_720p24_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_720p24_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_720p25_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_720p25_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_720p30_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_720p30_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_720p50_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_720p50_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_720p60_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_720p60_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_1080i50_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_1080i50_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_1080i60_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_1080i60_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_1080p24_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_1080p24_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_1080p25_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_1080p25_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xdcam_HD422_1080p30_CBR50(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xdcam_HD422_1080p30_CBR50: CMFormatDescription.Extensions.Value.MPEG2VideoProfileget xf(): CMFormatDescription_Extensions_Value_MPEG2VideoProfileSwift declarationstatic let xf: CMFormatDescription.Extensions.Value.MPEG2VideoProfileNo declarations were skipped in this snapshot.