Contents

CapturedRoomAttribute

Details about an object in the room that the framework observes during a scan.

Declaration

protocol CapturedRoomAttribute : CaseIterable, RawRepresentable, Sendable where Self.RawValue == String

Overview

If the framework identifies details about an CapturedRoom.Object during a scan, it adds an adopter of this protocol that represents that detail to the object’s attributes array. For example, details the framework recognizes as a stool with a star-shaped base contains both of the ChairType.stool and ChairLegType.star options in the attributes array for the object that represents the physical stool.

Topics

Identifying an attribute

Determining an attribute’s category

See Also

Accessing object details