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

# SofaType

Types of sofa the framework identifies in a captured room.

```
enum SofaType
```

## Overview

When the framework observes a sofa in the physical environment during a scan, it chooses a type among these options that best matches the sofa’s look.
The framework adds that instance of this enum to the [`attributes`](/documentation/RoomPlan/CapturedRoom/Object/attributes) array for the object (see [`objects`](/documentation/RoomPlan/CapturedRoom/objects)) that represents the sofa in the captured room.

## Topics

### Choosing a sofa type

[`case rectangular`](/documentation/RoomPlan/SofaType/rectangular)

A sofa shape that resembles a rectangle.

[`case singleSeat`](/documentation/RoomPlan/SofaType/singleSeat)

A sofa that resembles a loveseat.

[`case lShaped`](/documentation/RoomPlan/SofaType/lShaped)

A sofa shape that resembles the letter L.

[`case lShapedExtension`](/documentation/RoomPlan/SofaType/lShapedExtension)

The short side of the L-shape sofa.

[`case unidentified`](/documentation/RoomPlan/SofaType/unidentified)

An uncategorized sofa shape.

### Identifying a sofa type

### Categorizing a sofa type

### Creating a sofa type

## Relationships

### Conforms To

[`CapturedRoomAttribute`](/documentation/RoomPlan/CapturedRoomAttribute)

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

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

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

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

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

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

---

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)