VisionARManagerDelegate
public protocol VisionARManagerDelegate : AnyObject
Interface that user’s custom object should conform to in order to receive events from VisionARManager
.
Delegate methods are called one by one followed by visionManagerDidCompleteUpdate
call on a delegate of VisionManager
.
Note
All delegate methods are called on a background thread.-
visionARManager(_:didUpdateARCamera:)
Default implementationTells the delegate that AR camera was updated.
Default Implementation
Declaration
Swift
func visionARManager(_ visionARManager: VisionARManager, didUpdateARCamera camera: ARCamera)
-
visionARManager(_:didUpdateARLane:)
Default implementationTells the delegate that AR lane was updated.
Default Implementation
Declaration
Swift
func visionARManager(_ visionARManager: VisionARManager, didUpdateARLane lane: ARLane?)