Classes
The following classes are available globally.
-
Object encapsulating work with camera device.
See moreDeclaration
Swift
open class CameraVideoSource : ObservableVideoSource
-
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 moreDeclaration
Swift
open class ObservableVideoSource : NSObject, VideoSource
-
Object that is capable of presenting objects emitted from
See moreVisionManager
.Declaration
Swift
public final class VisionPresentationViewController : UIViewController
-
Declaration
Swift
public class BaseVisionManager : VisionManagerProtocol
-
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 :
create
start
startRecording
(optional)stopRecording
(optional)stop
, then lifecycle may proceed withdestroy
orstart
destroy
Declaration
Swift
public final class VisionManager : BaseVisionManager
-
VisionReplayManager
is a counterpart ofVisionManager
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 useVisionManager
after creating it with specific recorded session.Lifecycle of VisionReplayManager :
create
start
stop
, then lifecycle may proceed withdestroy
orstart
destroy
Important
This class is intended for debugging purposes only. Do NOT use session replay in production application.Declaration
Swift
public final class VisionReplayManager : BaseVisionManager