encode(to:)
Serializes captured room data to the specified encoder.
Declaration
func encode(to encoder: any Encoder) throwsParameters
- encoder:
An object that the captured room data serializes to.
Discussion
An app might serialize a CapturedRoomData object to defer processing to a later date or to defer processing to another device.