CapturedRoomData
An opaque object that holds the raw results of a scan.
Declaration
struct CapturedRoomDataOverview
When your app completes a scan session by calling stop(), the framework provides your app with raw scan results in one of the following ways:
The captureView(shouldPresent:error:) callback for an app that scans rooms using the framework-provided view (RoomCaptureView)
The captureSession(_:didEndWith:error:) callback for an app that implements its own room-scanning view
With an instance of this structure, your app can:
Process the raw data into a detailed captured room object (CapturedRoom) by creating a room builder (RoomBuilder) and calling its capturedRoom(from:) function.
Serialize to an encoder object, for example, to defer processing to a later date or to defer processing to another device.