MegaLandmarkTrackerLocalizationResponse Class

This type is an EasyAR Sense API in C#: MegaLandmarkTrackerLocalizationResponse . Some descriptions may not apply to Unity environment on this page.

Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.

Description

The response of MegaLandmarkTracker localization request.


Methods

inputFrame

C#

public virtual InputFrame inputFrame()

The input frame on request.

acceleration

C#

public virtual Optional< AccelerometerResult > acceleration()

The accelerometer reading on request.

location

C#

public virtual Optional< LocationResult > location()

The location reading on request.

appId

C#

public virtual string appId()

The appId of service.

status

C#

public virtual MegaLandmarkTrackerLocalizationStatus status()

Localization status.

spotVersionId

C#

public virtual Optional<string> spotVersionId()

The spot version ID.

instances

C#

public virtual List< MegaLandmarkTrackerBlockInstance > instances()

Current localized block instances. An existing instance will be preserved until another block is localized, or when MegaLandmarkTracker is stopped or paused.

errorMessage

C#

public virtual Optional<string> errorMessage()

Error message. It is filled when status is UnknownError.

serverResponseDuration

C#

public virtual Optional<double> serverResponseDuration()

The duration in seconds for server response.

serverCalculationDuration

C#

public virtual Optional<double> serverCalculationDuration()

The duration in seconds for server internal calculation.