Protocols
The following protocols are available globally.
-
Protocol which represents the source of video stream along with meta-information to its observers.
See moreDeclaration
Swift
public protocol VideoSource : AnyObject
-
Observer of a video source.
See moreDeclaration
Swift
public protocol VideoSourceObserver : AnyObject
-
Interface that user’s custom object should conform to in order to receive events from
VisionManager
. Some methods will not be called untilCamera.isCalibrated
value becomestrue
due to highly imprecise results. Delegate methods are called one by one followed byvisionManagerDidCompleteUpdate
call, which denotes the end of the iteration.Note
All delegate methods are called on a background thread.Declaration
Swift
public protocol VisionManagerDelegate : AnyObject
-
Protocol that provides an ability to use
See moreVisionManager
andVisionReplayManager
interchangeably by abstracting common functionality.Declaration
Swift
public protocol VisionManagerProtocol : AnyObject