captureSession(_:didEndWith:error:)
Provides a default, blank implementation for when the capture session provides raw scan results.
Declaration
func captureSession(_ session: RoomCaptureSession, didEndWith data: CapturedRoomData, error: (any Error)?)Parameters
- session:
An object that manages the room-scanning process.
- data:
A data object that contains the raw scan results.
- error:
An object that describes the problem when an error occurs; otherwise,
nil.
Mentioned in
Discussion
The system calls this implementation if your app doesn’t implement captureSession(_:didEndWith:error:).