Classes

The following classes are available globally.

  • Helper class handling observers: storing, releasing, notifying. Observers are held weakly by the instance of the class. You may inherit your video source from this class to avoid handling observers yourself.

    See more

    Declaration

    Swift

    open class ObservableVideoSource : NSObject, VideoSource
  • The main object for registering for events from the SDK, starting and stopping their delivery. It also provides some useful functions for performance configuration and data conversion.

    Lifecycle of VisionManager :

    1. create
    2. start
    3. startRecording (optional)
    4. stopRecording (optional)
    5. stop, then lifecycle may proceed with destroy or start
    6. destroy
    See more

    Declaration

    Swift

    public final class VisionManager : BaseVisionManager
  • VisionReplayManager is a counterpart of VisionManager that uses recorded video and telemetry instead of realtime data. Use it to debug and test functions that use Vision in a development environment before testing in a vehicle. Use it in the same workflow as you use VisionManager after creating it with specific recorded session.

    Lifecycle of VisionReplayManager :

    1. create
    2. start
    3. stop, then lifecycle may proceed with destroy or start
    4. destroy

    Important

    This class is intended for debugging purposes only. Do NOT use session replay in production application.
    See more

    Declaration

    Swift

    public final class VisionReplayManager : BaseVisionManager