captureSession(_:didUpdate:)
Notifies the delegate when the session updates the scan results.
Declaration
func captureSession(_ session: RoomCaptureSession, didUpdate room: CapturedRoom)Parameters
- session:
An object that manages the room-scanning process.
- room:
A structure that represents a snapshot of the room being captured.
Discussion
The room structure contains all surfaces/objects in the captured room regardless of the recent changes.