---
title: NIAlgorithmConvergence
framework: nearbyinteraction
role: symbol
role_heading: Class
path: nearbyinteraction/nialgorithmconvergence
---

# NIAlgorithmConvergence

An object that provides the state and reason for user coaching recommendations.

## Declaration

```swift
class NIAlgorithmConvergence
```

## Overview

Overview This class conveys the current state of the framework’s Camera Assistance feature when you turn on isCameraAssistanceEnabled. When the status indicates that user action is required to achieve the highest-quality results, instances of this class identify specific actions the user can do to help. To improve the status, the app needs to coach the user such as by presenting instructional text. The information you provide tells the user, for example, where and at what speed to pan the device around the environment. To listen for the convergence status, implement session(_:didUpdateAlgorithmConvergence:for:).

## Topics

### Determining convergence state

- [status](nearbyinteraction/nialgorithmconvergence/status-654t.md)

### Initializers

- [init(coder:)](nearbyinteraction/nialgorithmconvergence/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Camera assistance

- [Finding devices with precision](nearbyinteraction/finding-devices-with-precision.md)
- [NIAlgorithmConvergenceStatus](nearbyinteraction/nialgorithmconvergencestatus-2fnve.md)
- [Algorithm Convergence Status](nearbyinteraction/algorithm-convergence-status.md)
