Instance Method

session(_:didOutputCollaborationData:)

Called when the session created collaboration data.

Declaration

optional func session(_ session: ARSession, didOutputCollaborationData data: ARSession.CollaborationData)

Discussion

When ARKit invokes this callback, you send this object's data to nearby users over the network using the process described in Creating a Multiuser AR Experience.

For more information, see isCollaborationEnabled.