<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RoomPlan",
  "identifier" : "/documentation/RoomPlan/CapturedRoom/Confidence",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "RoomPlan"
    ],
    "preciseIdentifier" : "s:8RoomPlan08CapturedA0V10ConfidenceO"
  },
  "title" : "CapturedRoom.Confidence"
}
-->

# CapturedRoom.Confidence

Levels of certainty in the classification of a particular detail in a scan.

```
enum Confidence
```

## Overview

The framework chooses a level of certainty in its assessment of particular
room features, such as:

- The [`confidence`](/documentation/RoomPlan/CapturedRoom/Surface/confidence) in a [`category`](/documentation/RoomPlan/CapturedRoom/Surface/category-swift.property)
  that the captured room assigns its surfaces, such as [`doors`](/documentation/RoomPlan/CapturedRoom/doors),
  [`openings`](/documentation/RoomPlan/CapturedRoom/openings), [`walls`](/documentation/RoomPlan/CapturedRoom/walls), [`windows`](/documentation/RoomPlan/CapturedRoom/windows).
- The [`confidence`](/documentation/RoomPlan/CapturedRoom/Object/confidence) in a [`category`](/documentation/RoomPlan/CapturedRoom/Object/category-swift.property)
  that the captured room assigns its [`objects`](/documentation/RoomPlan/CapturedRoom/objects).

## Topics

### Creating a confidence value

### Assessing a confidence value

[`case high`](/documentation/RoomPlan/CapturedRoom/Confidence/high)

A confidence value that represents a high level of certainty.

[`case medium`](/documentation/RoomPlan/CapturedRoom/Confidence/medium)

A confidence value that represents a medium level of certainty.

[`case low`](/documentation/RoomPlan/CapturedRoom/Confidence/low)

A confidence value that represents a low level of certainty.

### Comparing confidence values

### Serializing a confidence value

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)