Contents

setARSession(_:)

Provides the framework with an existing AR session to use for Camera Assistance.

Declaration

func setARSession(_ session: ARSession)

Parameters

Discussion

Set the isCameraAssistanceEnabled flag to true before calling this function. If you enable the flag and run a nearby-interaction session without calling setARSession(_:), the framework creates an internal ARSession instance to which the app has no access.

See Also

Utilizing Camera Assistance