RoomioScanEvent

A notification from a RoomioScanSession, delivered through events.

enum RoomioScanEvent

RoomioScanEvent.failed(_:)

An error occurred. Fatal errors also move state to RoomioScanState.failed(_:).

case failed(RoomioError)

RoomioScanEvent.guidanceChanged(_:)

What the user should do to get a better scan. RoomioScanView already shows it; use this to adjust your own UI. Sent from the camera preview on, whenever the advice changes; nil when there is nothing to tell the user, and the scan pausing or finishing clears it.

case guidanceChanged(RoomioGuidance?)

RoomioScanEvent.progressUpdated(_:)

Scan progress, for showing progress in your own UI. Sent each time the distance travelled grows, in steps of at least 0.5 m.

case progressUpdated(RoomioScanProgress)

RoomioScanEvent.trackingChanged(_:)

The tracking quality changed.

case trackingChanged(RoomioTrackingQuality)
Roomio SDK 0.0.15