Inherits from UIView
Declared in VDARAnnotationView.h

Overview

Class used to display the augmented reality view. It should not be used alone but only with a VDARLiveAnnotationViewController.

Warning: Creating an instance of this class manually will result in a crash of the application.

Tasks

  •   animationSpeed

    The speed of animation displayed in the transition from dark screen to non-dark screen. The animation is disabled if the value is set as 0.

    property
  •   darkScreen

    The brightness of camera view drops by half if the value is true.

    property
  •   rendering

    The running / rendering state of the view

    property
  •   cameraStartingDelay

    Tells the view to wait that time before starting the camera. Useful to make the camera starting time delayed so that the screen stays black until the content is opened.

    property
  •   preventCameraStart

    Tells the view not to start the camera to prevent the display of camera frames

    property
  • – captureScreenshot

    Capture screen shot of the AR view at the time the method is executed.

Properties

animationSpeed

The speed of animation displayed in the transition from dark screen to non-dark screen. The animation is disabled if the value is set as 0.

@property (nonatomic) float animationSpeed

Return Value

a float value (default: 0).

Availability

Version 3.1.0

Discussion

The speed of animation displayed in the transition from dark screen to non-dark screen. The animation is disabled if the value is set as 0.

Declared In

VDARAnnotationView.h

cameraStartingDelay

Tells the view to wait that time before starting the camera. Useful to make the camera starting time delayed so that the screen stays black until the content is opened.

@property (nonatomic) CFTimeInterval cameraStartingDelay

Availability

5.1.0

Discussion

Tells the view to wait that time before starting the camera. Useful to make the camera starting time delayed so that the screen stays black until the content is opened.

Declared In

VDARAnnotationView.h

darkScreen

The brightness of camera view drops by half if the value is true.

@property (nonatomic) BOOL darkScreen

Return Value

true if the dark screen mode is turned on.

Availability

Version 3.1.0

Discussion

The brightness of camera view drops by half if the value is true.

Declared In

VDARAnnotationView.h

preventCameraStart

Tells the view not to start the camera to prevent the display of camera frames

@property (nonatomic) BOOL preventCameraStart

Availability

5.2.5

Discussion

Tells the view not to start the camera to prevent the display of camera frames

Default: NO

Declared In

VDARAnnotationView.h

rendering

The running / rendering state of the view

@property (nonatomic, readonly, getter=isRendering) BOOL rendering

Return Value

True if the current view is rendering its content, false otherwise.

Availability

Version 5.1.0

Discussion

The running / rendering state of the view

Declared In

VDARAnnotationView.h

Instance Methods

captureScreenshot

Capture screen shot of the AR view at the time the method is executed.

- (UIImage *)captureScreenshot

Discussion

Capture screen shot of the AR view at the time the method is executed.

Declared In

VDARAnnotationView.h