VisionARViewController

public class VisionARViewController : UIViewController

Class that represents visual component that renders video stream from the camera and AR navigation route on top of that.

  • The delegate object to receive navigation events.

    Declaration

    Swift

    public weak var navigationDelegate: NavigationManagerDelegate?
  • Control the visibility of the Mapbox logo.

    Declaration

    Swift

    public var isLogoVisible: Bool { get set }
  • Create an instance of VisionARNavigationController by specifying route controller from MapboxCoreNavigation framework.

    Declaration

    Swift

    public init(navigationService: NavigationService? = nil)
  • NavigationService from MapboxCoreNavigation framework

    Declaration

    Swift

    public var navigationService: NavigationService? { get set }
  • Display sample buffer (e.g. taken from VideoSource).

    Declaration

    Swift

    public func present(sampleBuffer: CMSampleBuffer)
  • Set AR camera.

    Declaration

    Swift

    public func present(camera: ARCamera)
  • Display AR lane.

    Declaration

    Swift

    public func present(lane: ARLane?)