<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VisionKit",
  "identifier" : "/documentation/VisionKit/DataScannerViewController/QualityLevel-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "VisionKit"
    ],
    "preciseIdentifier" : "s:9VisionKit25DataScannerViewControllerC12QualityLevelO"
  },
  "title" : "DataScannerViewController.QualityLevel"
}
-->

# DataScannerViewController.QualityLevel

The possible quality levels that the scanner uses to find data.

```
enum QualityLevel
```

## Overview

The quality levels mostly impact the camera resolution.

## Topics

### Identifying quality levels

[`case balanced`](/documentation/VisionKit/DataScannerViewController/QualityLevel-swift.enum/balanced)

A quality level that’s between fast and accurate.

[`case fast`](/documentation/VisionKit/DataScannerViewController/QualityLevel-swift.enum/fast)

A quality level that prioritizes recognition speed over accuracy.

[`case accurate`](/documentation/VisionKit/DataScannerViewController/QualityLevel-swift.enum/accurate)

A quality level that prioritizes recognition accuracy over speed.

### Comparing quality levels

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)