MegaLandmarkTrackerLocalizationResponse Class

Description

The response of MegaLandmarkTracker localization request.

inputFrame

The input frame on request.

C

void easyar_MegaLandmarkTrackerLocalizationResponse_inputFrame(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_InputFrame * * Return)

C++

std::shared_ptr<InputFrame> inputFrame()

Java

public @Nonnull InputFrame inputFrame()

Kotlin

fun inputFrame(): InputFrame

Objective-C

- (easyar_InputFrame *)inputFrame

Swift

public func inputFrame() -> InputFrame

C#

public virtual InputFrame inputFrame()

acceleration

The accelerometer reading on request.

C

easyar_OptionalOfAccelerometerResult easyar_MegaLandmarkTrackerLocalizationResponse_acceleration(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

std::optional<AccelerometerResult> acceleration()

Java

public @Nullable AccelerometerResult acceleration()

Kotlin

fun acceleration(): AccelerometerResult?

Objective-C

- (easyar_AccelerometerResult *)acceleration

Swift

public func acceleration() -> AccelerometerResult?

C#

public virtual Optional<AccelerometerResult> acceleration()

location

The location reading on request.

C

easyar_OptionalOfLocationResult easyar_MegaLandmarkTrackerLocalizationResponse_location(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

std::optional<LocationResult> location()

Java

public @Nullable LocationResult location()

Kotlin

fun location(): LocationResult?

Objective-C

- (easyar_LocationResult *)location

Swift

public func location() -> LocationResult?

C#

public virtual Optional<LocationResult> location()

appId

The appId of service.

C

void easyar_MegaLandmarkTrackerLocalizationResponse_appId(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_String * * Return)

C++

std::string appId()

Java

public java.lang.@Nonnull String appId()

Kotlin

fun appId(): String

Objective-C

- (NSString *)appId

Swift

public func appId() -> String

C#

public virtual string appId()

status

Localization status.

C

easyar_MegaLandmarkTrackerLocalizationStatus easyar_MegaLandmarkTrackerLocalizationResponse_status(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

MegaLandmarkTrackerLocalizationStatus status()

Java

public int status()

Kotlin

fun status(): Int

Objective-C

- (easyar_MegaLandmarkTrackerLocalizationStatus)status

Swift

public func status() -> MegaLandmarkTrackerLocalizationStatus

C#

public virtual MegaLandmarkTrackerLocalizationStatus status()

spotVersionId

The spot version ID.

C

void easyar_MegaLandmarkTrackerLocalizationResponse_spotVersionId(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_OptionalOfString * Return)

C++

std::optional<std::string> spotVersionId()

Java

public java.lang.@Nullable String spotVersionId()

Kotlin

fun spotVersionId(): String?

Objective-C

- (NSString *)spotVersionId

Swift

public func spotVersionId() -> String?

C#

public virtual Optional<string> spotVersionId()

instances

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

C

void easyar_MegaLandmarkTrackerLocalizationResponse_instances(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_ListOfMegaLandmarkTrackerBlockInstance * * Return)

C++

std::vector<std::shared_ptr<MegaLandmarkTrackerBlockInstance>> instances()

Java

public java.util.@Nonnull ArrayList<@Nonnull MegaLandmarkTrackerBlockInstance> instances()

Kotlin

fun instances(): ArrayList<MegaLandmarkTrackerBlockInstance>

Objective-C

- (NSArray<easyar_MegaLandmarkTrackerBlockInstance *> *)instances

Swift

public func instances() -> [MegaLandmarkTrackerBlockInstance]

C#

public virtual List<MegaLandmarkTrackerBlockInstance> instances()

extraInfo

C

void easyar_MegaLandmarkTrackerLocalizationResponse_extraInfo(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_String * * Return)

C++

std::string extraInfo()

Java

public java.lang.@Nonnull String extraInfo()

Kotlin

fun extraInfo(): String

Objective-C

- (NSString *)extraInfo

Swift

public func extraInfo() -> String

C#

public virtual string extraInfo()

errorMessage

Error message. It is filled when status is UnknownError.

C

void easyar_MegaLandmarkTrackerLocalizationResponse_errorMessage(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_OptionalOfString * Return)

C++

std::optional<std::string> errorMessage()

Java

public java.lang.@Nullable String errorMessage()

Kotlin

fun errorMessage(): String?

Objective-C

- (NSString *)errorMessage

Swift

public func errorMessage() -> String?

C#

public virtual Optional<string> errorMessage()

serverResponseDuration

The duration in seconds for server response.

C

easyar_OptionalOfDouble easyar_MegaLandmarkTrackerLocalizationResponse_serverResponseDuration(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

std::optional<double> serverResponseDuration()

Java

public java.lang.@Nullable Double serverResponseDuration()

Kotlin

fun serverResponseDuration(): Double?

Objective-C

- (NSNumber *)serverResponseDuration

Swift

public func serverResponseDuration() -> Double?

C#

public virtual Optional<double> serverResponseDuration()

serverCalculationDuration

The duration in seconds for server internal calculation.

C

easyar_OptionalOfDouble easyar_MegaLandmarkTrackerLocalizationResponse_serverCalculationDuration(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

std::optional<double> serverCalculationDuration()

Java

public java.lang.@Nullable Double serverCalculationDuration()

Kotlin

fun serverCalculationDuration(): Double?

Objective-C

- (NSNumber *)serverCalculationDuration

Swift

public func serverCalculationDuration() -> Double?

C#

public virtual Optional<double> serverCalculationDuration()