HERE iOS SDK Developer's Guide

NMAARCameraParameters

Class Summary

class NMAARCameraParameters

Derived from: NSObject

Encapsulates parameters which affect the device camera.

Include: NMAKit.framework/headers/NMAARCameraParameters.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAARCameraParameters

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] CGSize  size

The resolution used by the camera view

[readable, assign] NSArray *  supportedSizes

A list of supported camera resolutions

Class Details

Encapsulates parameters which affect the device camera.

 

Public Property Details

[readable, writable, assign] CGSize size

The resolution used by the camera view.

Resolutions of 640x480 and greater are supported. Supported resolutions differ across devices. To get a list of supported resolutions, call supportedSizes. Arbitary sizes will always be matched to the closest resolution reported by supportedSizes.

The default resolution depends on the device and is chosen to provide the best balance of performance and image quality. Depending on the device, higher resolutions can have a significant performance impact.

Note:

Changes made to the camera size while LiveSight is running will not be reflected until livesight has been stopped and started again.

[readable, assign] NSArray * supportedSizes

A list of supported camera resolutions.

Note:

The array contains NSValue objects; size values can be obtained by calling e.g. [supportedSizes[0] CGSizeValue].