attributes
TypeScriptget attributes(): Array<SDKHandle>Swift declarationvar attributes: [any CapturedRoomAttribute] { get }A collection of details that describe a particular object in the room.
struct · iOS 16.0+ · SDK 27.1
struct ObjectA 3D area in a room that the framework identifies as an object. A captured room contains an array of this type for the objects (``CapturedRoom/objects``) it identifies.
get attributes(): Array<SDKHandle>Swift declarationvar attributes: [any CapturedRoomAttribute] { get }A collection of details that describe a particular object in the room.
get confidence(): CapturedRoom_ConfidenceSwift declarationvar confidence: CapturedRoom.Confidence { get }A level of certainty in the object's category.
get dimensions(): SDKHandleSwift declarationvar dimensions: simd_float3 { get }A bounding box sized to the object's extremities.
get identifier(): stringSwift declarationvar identifier: UUID { get }A unique alphanumeric value that the framework assigns the object.
get parentIdentifier(): (string) | nullSwift declarationvar parentIdentifier: UUID? { get }A unique alphanumeric value that identifies the object's parent object or surface. For example, the parent of a sink is the storage area in which the sink resides.
get story(): numberSwift declarationvar story: Int { get }The floor number or level on which the object resides.
get category(): CapturedRoom_Object_CategorySwift declarationvar category: CapturedRoom.Object.Category { get }A classification that the captured room assigns the object.
get transform(): SDKHandleSwift declarationvar transform: simd_float4x4 { get }A matrix that defines the object's position and orientation in the room.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CapturedRoom.Object.attribute(of:)
This declaration needs Swift generic type arguments. (no canonical witness for T)