Contents

captureSession(_:didEndWith:error:)

Notifies the delegate of completion with either scan results or an error.

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