HERE iOS SDK Developer's Guide

NMA LiveSight

Group Summary

group NMA LiveSight

The LiveSight group provides classes, protocols and enumerations for displaying LiveSight and customizing the experience.

[For complete information, see the section Group Details]

Nested Classes

Public Enumeration Summary

Table 2. Public Enumerations
Public Enumerations

NMAARBillboardObjectOrientation

Defines the orientation mode of NMAARBillboardObject object.

NMAARError

LiveSight error codes.

NMAARModelObjectShadingMode

The shading modes available for 3D model objects.

NMAARProjectionType

Projection type used by the LiveSight engine for displaying NMAARObjects in the camera view.

NMALineCapStyle

Defines types of cap styles for a line.

Public Variable Summary

Table 3. Public Variables
Public Variables

FOUNDATION_EXPORT NSString *const  NMAARErrorDomain

The LiveSight API error domain.

Group Details

The LiveSight group provides classes, protocols and enumerations for displaying LiveSight and customizing the experience. The key classes and interfaces in this group are NMACompositeView and NMAARController.

Public Enumeration Details

NMAARBillboardObjectOrientation

Include: NMAKit.framework/headers/NMAARBillboardObject.h

Defines the orientation mode of NMAARBillboardObject object.

Enumeration Members:

  • NMAARBillboardObjectOrientationFixed

    The orientation is fixed, set explicitly using the billboard's normal and up vectors.

  • NMAARBillboardObjectOrientationBillboard

    The billboard is oriented toward the camera.

NMAARError

Include: NMAKit.framework/headers/NMAARController.h

LiveSight error codes.

Enumeration Members:

  • NMAARErrorNone

    No error.

  • NMAARErrorInvalidOperation

    The operation is not allowed at the time of the call. For example, calling NMAARController::start a second time before calling stop.

  • NMAARErrorInvalidParameters

    Parameters passed to the API are not valid.

  • NMAARErrorOperationNotAllowed

    Access to this operation is denied. Contact your HERE representative for more information.

  • NMAARErrorCameraUnavailable

    Camera unavailable.

  • NMAARErrorSensorsUnavailable

    Sensors unavailable.

  • NMAARErrorStopped

    Livesight stopped.

  • NMAARErrorCameraAccessNotAuthorized

    The user has not granted the app access to the camera to capture video frames.

    The authorization status regarding video capture can be queried by calling [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo].

    You should request the user grant access (iOS will prompt the user) by calling [AVCaptureDevice requestAccessForMediaType:AVMediaTypeVideo completionHandler:^(BOOL granted){}];

NMAARModelObjectShadingMode

Include: NMAKit.framework/headers/NMAARModelObject.h

The shading modes available for 3D model objects.

Enumeration Members:

  • NMAARModelObjectShadingModeFlatTextured

    Textured without lighting.

  • NMAARModelObjectShadingModeDiffuseTextured

    Textured with diffuse lighting.

NMAARProjectionType

Include: NMAKit.framework/headers/NMAARController.h

Projection type used by the LiveSight engine for displaying NMAARObject s in the camera view.

Enumeration Members:

  • NMAARProjectionTypeNearFar

    Near-far projection. NMAARObject s appear in either a front (near) or back (far) plane based on their proximity to the device. See NMAARObject for further details of how objects are rendered in this projection.

  • NMAARProjectionTypeDirect3D

    Direct 3D projection. NMAARObject s appear in 3D space as a result of direct projection of geo location.

  • NMAARProjectionTypeHorizontal

    Horizontal projection. NMAARObject s appear in one horizontal line.

  • NMAARProjectionTypeMap

    Map projection. NMAARObject s appear in the positions projected to the screen via their geo coordinates.

  • NMAARProjectionTypeGlobal

    Use global default projection. The value of NMAARController::projectionType defines the actual projection type used.

NMALineCapStyle

Include: NMAKit.framework/headers/NMALineAttributes.h

Defines types of cap styles for a line.

Enumeration Members:

  • NMALineCapStyleButt

    Makes the ends of the line flush with each end of the path (no protrusion from the path ends).

  • NMALineCapStyleRound

    Makes the ends of the line rounded, protruding from each path end with a radius equal to half the thickness of the line.

Public Variable Details

FOUNDATION_EXPORT NSString *const NMAARErrorDomain

Include: NMAKit.framework/headers/NMAARController.h

The LiveSight API error domain.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.