iPhone 16 Pro's jpeg XL format for 3rd party apps

The system Camera app offers jpeg XL selection for ProRAW format. I found the "static let JPEGXL: AVVideoCodecType" in the documentation but how do you specify it for a 3rd party app?

Would it be a replacement for using the .availableRawPhotoPixelFormatTypes?

iPhone 16 Pro's jpeg XL format for 3rd party apps
 
 
Q