Contents

recommendedVideoFormatForHighResolutionFrameCapturing

Returns a video format that the framework recommends for high-resolution-still-image capture.

Declaration

class var recommendedVideoFormatForHighResolutionFrameCapturing: ARConfiguration.VideoFormat? { get }

Discussion

The framework determines the resolution of the camera feed and still-image capture for this format. Call this function when your app requires a high-resolution still capture regardless of format specifics. If instead, your app requires a particular resolution, iterate over the supportedVideoFormats array and choose a format with the desired configuration where isRecommendedForHighResolutionFrameCapturing is true.

Other video formats may support still-image capture but at a lower quality or resolution.

See Also

Managing video capture options