MegaTrackerLocalizationResponse Class

Description

The response of MegaTracker localization request.

inputFrame

The input frame on request.

C

void easyar_MegaTrackerLocalizationResponse_inputFrame(const easyar_MegaTrackerLocalizationResponse * 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_MegaTrackerLocalizationResponse_acceleration(const easyar_MegaTrackerLocalizationResponse * 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_MegaTrackerLocalizationResponse_location(const easyar_MegaTrackerLocalizationResponse * 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()

status

Localization status.

C

easyar_MegaTrackerLocalizationStatus easyar_MegaTrackerLocalizationResponse_status(const easyar_MegaTrackerLocalizationResponse * This)

C++

MegaTrackerLocalizationStatus status()

Java

public int status()

Kotlin

fun status(): Int

Objective-C

- (easyar_MegaTrackerLocalizationStatus)status

Swift

public func status() -> MegaTrackerLocalizationStatus

C#

public virtual MegaTrackerLocalizationStatus status()

instances

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

C

void easyar_MegaTrackerLocalizationResponse_instances(const easyar_MegaTrackerLocalizationResponse * This, easyar_ListOfMegaTrackerBlockInstance * * Return)

C++

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

Java

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

Kotlin

fun instances(): ArrayList<MegaTrackerBlockInstance>

Objective-C

- (NSArray<easyar_MegaTrackerBlockInstance *> *)instances

Swift

public func instances() -> [MegaTrackerBlockInstance]

C#

public virtual List<MegaTrackerBlockInstance> instances()

serverResponseDuration

The duration in seconds for server response.

C

easyar_OptionalOfDouble easyar_MegaTrackerLocalizationResponse_serverResponseDuration(const easyar_MegaTrackerLocalizationResponse * 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_MegaTrackerLocalizationResponse_serverCalculationDuration(const easyar_MegaTrackerLocalizationResponse * 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()

errorMessage

Error message. It is filled when status is UnknownError.

C

void easyar_MegaTrackerLocalizationResponse_errorMessage(const easyar_MegaTrackerLocalizationResponse * 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()

extraInfo

C

void easyar_MegaTrackerLocalizationResponse_extraInfo(const easyar_MegaTrackerLocalizationResponse * 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()