WTCaptureDeviceManager Class Reference

Inherits from NSObject
Declared in WTCaptureDeviceManager.h

  delegate

The delegate object that is associated with this capture device manager object.

@property (nonatomic, weak) id<WTCaptureDeviceManagerDelegate> delegate

Declared In

WTCaptureDeviceManager.h

  activeCaptureDevicePosition

The capture device position that is currently used or should be used.

@property (nonatomic, assign) AVCaptureDevicePosition activeCaptureDevicePosition

Return Value

activeCaptureDevicePosition The capture device position that is currently active.

Declared In

WTCaptureDeviceManager.h

  focusMode

The focus mode that is currently active or should be used.

@property (nonatomic, assign) AVCaptureFocusMode focusMode

Return Value

focusMode The focus mode that is currently active.

Declared In

WTCaptureDeviceManager.h

  focusDistance

The focus distance that is currently set or should be used.

@property (nonatomic, assign) float focusDistance

Return Value

focusDistance the focus distance that is currently active.

Discussion

Values between 0 and 1 are accepted. Setting an unsupported value will result in an exception.

Declared In

WTCaptureDeviceManager.h

  autoFocusRangeRestriction

The auto focus range restriction that is currently active or should be used.

@property (nonatomic, assign) AVCaptureAutoFocusRangeRestriction autoFocusRangeRestriction

Return Value

autoFocusRangeRestriction The auto focus range restriction that is currently active.

Declared In

WTCaptureDeviceManager.h

  zoomLevel

The zoom level that is currently active or should be used.

@property (nonatomic, assign) CGFloat zoomLevel

Return Value

zoomLevel The zoom level that is currently set.

Discussion

Setting an unsupported value causes an internal error and does not change the currently set zoom level.

Declared In

WTCaptureDeviceManager.h

  maxZoomLevel

The maximal supported zoom level.

@property (nonatomic, assign, readonly) CGFloat maxZoomLevel

Return Value

maxZoomLevel The maximal supported zoom level.

Discussion

This value should be read before setting a new zoom level so that a valid value is set.

Declared In

WTCaptureDeviceManager.h

  hasTorch

Indicates whether the current device has a torch.

@property (nonatomic, assign, readonly) BOOL hasTorch

Return Value

YES if a torch is available, NO otherwise.

Declared In

WTCaptureDeviceManager.h

  torchMode

The torch mode that is currently active or should be used

@property (nonatomic, assign) AVCaptureTorchMode torchMode

Return Value

torchMode The torch mode that is currently active

Declared In

WTCaptureDeviceManager.h

  fieldOfView

The cameras horizontal field of view in degree.

@property (nonatomic, assign, readonly) CGFloat fieldOfView

Return Value

fieldOfView the current cameras horizontal field of view in degree

Declared In

WTCaptureDeviceManager.h

  cameraRenderingTargetTexture

The target texture that should be used to draw the camera frame onto.

@property (nonatomic, assign) GLuint cameraRenderingTargetTexture

Discussion

The target texture that should be used to draw the camera frame onto.

@default -1

You should only use this property if your application has already setup a fixed rendering pipeline and wants the Wikitude SDK to draw the camera frame onto a very specific OpenGL ES 2 texture. Under normal circumstances, WTRenderingMode_External should be used if the Wikitude SDK should draw the camera frame in an already existing rendering environment.

Declared In

WTCaptureDeviceManager.h