Table of Contents

Class CloudLocalizerFrameFilter

Namespace
easyar
Assembly
EasyAR.Sense.dll

Controls the easyar.CloudLocalizer in the scene, and provides function extensions in the Unity environment.

In most cases, MegaTrackerFrameFilter should be used.

public class CloudLocalizerFrameFilter : MegaCloudFrameFilter
Inheritance
CloudLocalizerFrameFilter
Inherited Members

Fields

RequestTimeout

Timeout duration for communication with the server (in milliseconds).

public int RequestTimeout

Properties

LandmarkFilter

Mega Landmark filtering feature when ServiceType is Landmark. At the beginning, you need to manually call FilterBySpotId(string, Action<MegaLandmarkFilterResponse>). The Tracker will not start tracking until the Filter returns Found.

public Optional<MegaLandmarkFilterWrapper> LandmarkFilter { get; }

LocationInputMode

Location input mode. Must be set before session start. Set to Simulator for remote debugging or running on a computer; otherwise, it will not work. Set to Onsite for onsite use to achieve optimal results.

public MegaLocationInputMode LocationInputMode { get; set; }

ProximityLocation

Proximity location results.

public Optional<ProximityLocationResult> ProximityLocation { set; }

RequestMessage

public string RequestMessage { get; set; }

ServiceAccessData

Service access data. Must be set before session start. No setup needed when using GlobalConfig.

public ExplicitAddressAccessData ServiceAccessData { get; set; }

ServiceAccessSource

Service access data-source type. Must be set before session start.

public MegaServiceAccessSourceType ServiceAccessSource { get; set; }

ServiceType

EasyAR Mega service-type. Must be set before session start.

public MegaApiType ServiceType { get; set; }

SimulatorLocation

Location data used when LocationInputMode == Simulator.

public Optional<LocationResult> SimulatorLocation { get; set; }

enabled

Enable/disable location during ARSession runtime.

public bool enabled { get; set; }

Methods

Resolve(Action<MegaLocalizationResponse>)

Send location request.

public void Resolve(Action<MegaLocalizationResponse> callback)

Parameters

callback

SwitchEndPoint(ExplicitAddressAccessData)

Switch remote endpoint.

public void SwitchEndPoint(ExplicitAddressAccessData config)

Parameters

config

UpdateToken(string)

Update API Token.

public void UpdateToken(string token)

Parameters

token