Contents

NIAlgorithmConvergenceStatus

The possible states of Camera Assistance.

Declaration

enum NIAlgorithmConvergenceStatus

Overview

When the app enables Camera Assistance by setting isCameraAssistanceEnabled to true, the framework provides the app one of these values in the status field of the convergence object provided by the session(_:didUpdateAlgorithmConvergence:for:) callback.

The framework may require user action before Camera Assistance is fully operational at runtime. This enumeration indicates whether Camera Assistance currently functions as expected on device (convergence state NIAlgorithmConvergenceStatus.converged), and otherwise, the NIAlgorithmConvergenceStatus.Reason defines the recommended user actions when status is NIAlgorithmConvergenceStatus.notConverged(_:).

Topics

Interpreting the convergence state

Comparing convergence states

Inspecting the convergence state reason

See Also

Camera assistance