Contents

init(from:)

Creates captured room data by deserializing the decoder of a prior scan.

Declaration

init(from decoder: any Decoder) throws

Parameters

  • decoder:

    An encoded captured room data object.

Discussion

To serialize a scan, call encode(to:).