Protocols

The following protocols are available globally.

  • Protocol which represents the source of video stream along with meta-information to its observers.

    See more

    Declaration

    Swift

    public protocol VideoSource : AnyObject
  • Observer of a video source.

    See more

    Declaration

    Swift

    public protocol VideoSourceObserver : AnyObject
  • Interface that user’s custom object should conform to in order to receive events from VisionManager. Delegate methods are called one by one followed by visionManagerDidCompleteUpdate call, which denotes the end of the iteration.

    Note

    All delegate methods are called on a background thread.
    See more

    Declaration

    Swift

    public protocol VisionManagerDelegate : AnyObject