<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NearbyInteraction",
  "identifier" : "/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Nearby Interaction"
    ],
    "preciseIdentifier" : "s:17NearbyInteraction28NIAlgorithmConvergenceStatusO"
  },
  "title" : "NIAlgorithmConvergenceStatus"
}
-->

# NIAlgorithmConvergenceStatus

The possible states of Camera Assistance.

```
enum NIAlgorithmConvergenceStatus
```

## Overview

When the app enables Camera Assistance by setting [`isCameraAssistanceEnabled`](/documentation/NearbyInteraction/NINearbyPeerConfiguration/isCameraAssistanceEnabled) to `true`, the framework provides the app one of these values in the [`status`](/documentation/NearbyInteraction/NIAlgorithmConvergence/status-j61c) field of the convergence object provided by the [`session(_:didUpdateAlgorithmConvergence:for:)`](/documentation/NearbyInteraction/NISessionDelegate/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`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve/converged)), and otherwise, the [`NIAlgorithmConvergenceStatus.Reason`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve/Reason) defines the recommended user actions when status is [`NIAlgorithmConvergenceStatus.notConverged(_:)`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve/notConverged(_:)).

> Note: The Objective-C version of this enumeration is <doc://com.apple.nearbyinteraction/documentation/NearbyInteraction/algorithm-convergence-status>.

## Topics

### Interpreting the convergence state

[`case converged`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve/converged)

A status that indicates the framework’s Camera Assistance feature is operational.

[`case notConverged([NIAlgorithmConvergenceStatus.Reason])`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve/notConverged(_:))

A status that indicates the framework’s Camera Assistance feature requires action from the user.

[`case unknown`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve/unknown)

An indication that the framework is unsure of the Camera Assistance status.

### Comparing convergence states

[`static func == (NIAlgorithmConvergenceStatus, NIAlgorithmConvergenceStatus) -> Bool`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve/==(_:_:))

Determines whether two convergence statuses are equal.

### Inspecting the convergence state reason

[`struct Reason`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve/Reason)

The possible reasons for the Camera Assistance status.

[`NIAlgorithmConvergenceStatusConverged`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fbmj/NIAlgorithmConvergenceStatusConverged)

A status that indicates the framework’s Camera Assistance feature is operational.

[`NIAlgorithmConvergenceStatusNotConverged`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fbmj/NIAlgorithmConvergenceStatusNotConverged)

A status that indicates the framework’s Camera Assistance feature requires action from the user.

[`NIAlgorithmConvergenceStatusUnknown`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fbmj/NIAlgorithmConvergenceStatusUnknown)

An indication that the framework is unsure of the Camera Assistance status.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)