captureView(didPresent:error:)
Provides the delegate with the processed scan results as the view presents them.
Declaration
func captureView(didPresent processedResult: CapturedRoom, error: (any Error)?)Parameters
- processedResult:
A structure that provides detailed information about the dimensions and features of the scanned room.
- error:
An object that describes the problem when an error occurs; otherwise,
nil.
Discussion
The framework invokes this callback when your app returns true for captureView(shouldPresent:error:).
With the processedResult argument, your app can alter the detailed captured room object or export it to a USDZ file.