NearbyInteraction iOS 15.5 to 16.0 API Differences

NIAlgorithmConvergenceStatusReason.h
Added NIAlgorithmConvergenceStatusReason
Added NIAlgorithmConvergenceStatusReasonInsufficientHorizontalSweep
Added NIAlgorithmConvergenceStatusReasonInsufficientVerticalSweep
Added NIAlgorithmConvergenceStatusReasonInsufficientMovement
Added NIAlgorithmConvergenceStatusReasonInsufficientLighting
Added NIAlgorithmConvergenceStatusReasonDescription()
NIConfiguration.h
Added NINearbyPeerConfiguration.cameraAssistanceEnabled
Added NINearbyAccessoryConfiguration.cameraAssistanceEnabled
Added -[NINearbyAccessoryConfiguration initWithAccessoryData:bluetoothPeerIdentifier:error:]
NIDeviceCapability.h
Added NIDeviceCapability
Added NIDeviceCapability.supportsPreciseDistanceMeasurement
Added NIDeviceCapability.supportsDirectionMeasurement
Added NIDeviceCapability.supportsCameraAssistance
NIError.h
Added NIErrorCodeInvalidARConfiguration
Added NIErrorCodeAccessoryPeerDeviceUnavailable
NINearbyObject.h
Added NINearbyObjectAngleNotAvailable
Added NINearbyObjectVerticalDirectionEstimate
Added NINearbyObjectVerticalDirectionEstimateUnknown
Added NINearbyObjectVerticalDirectionEstimateSame
Added NINearbyObjectVerticalDirectionEstimateAbove
Added NINearbyObjectVerticalDirectionEstimateBelow
Added NINearbyObjectVerticalDirectionEstimateAboveOrBelow
Added NINearbyObject.verticalDirectionEstimate
Added NINearbyObject.horizontalAngle
NISession.h
Added NINearbyObjectWorldTransformNotAvailable
Added NISession.deviceCapabilities
Added -[NISession setARSession:]
Added -[NISession worldTransformForObject:]
Added NIAlgorithmConvergenceStatus
Added NIAlgorithmConvergenceStatusUnknown
Added NIAlgorithmConvergenceStatusNotConverged
Added NIAlgorithmConvergenceStatusConverged
Added NIAlgorithmConvergence
Added NIAlgorithmConvergence.status
Added NIAlgorithmConvergence.reasons
Added -[NISessionDelegate session:didUpdateAlgorithmConvergence:forObject:]
Added -[NISessionDelegate sessionDidStartRunning:]
Modified NISession.supported
AvailabilityReplacement
FromAvailablenone
ToDeprecatedUse deviceCapabilities property and check the supportsPreciseDistanceMeasurement property