---
title: SofaType
framework: roomplan
role: symbol
role_heading: Enumeration
path: roomplan/sofatype
---

# SofaType

Types of sofa the framework identifies in a captured room.

## Declaration

```swift
enum SofaType
```

## Overview

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 array for the object (see objects) that represents the sofa in the captured room.

## Topics

### Choosing a sofa type

- [SofaType.rectangular](roomplan/sofatype/rectangular.md)
- [SofaType.singleSeat](roomplan/sofatype/singleseat.md)
- [SofaType.lShaped](roomplan/sofatype/lshaped.md)
- [SofaType.lShapedExtension](roomplan/sofatype/lshapedextension.md)
- [SofaType.unidentified](roomplan/sofatype/unidentified.md)

## Relationships

### Conforms To

- [CapturedRoomAttribute](roomplan/capturedroomattribute.md)
- [CaseIterable](swift/caseiterable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
