Start a new topic
Solved

Scene found event on Load Instant Target

Hi team!

I'm using Load Instant Target functionalities with JS API.

 

Everything works fine, the scene is loaded and appears when I point my device on the save environment.

 

Now I need to perform an action when the scene is recognized in the environment (the moment when saved scene pop on screen).

I was using Android Native API before using the JS API and I used "onTracked" function to do that. But in JS API, I can't find the onTracked event.


Can you help me?

 

Best regards, 


Hi Julien,


if you wish to react when the tracking is started (recognized), please have a look at the onTrackingStarted of the InstantTrackable class.


Should you need anything further, just let me know anytime.


Greetings

Nicola

It's working like a charm.


Thanks a lot


Best regards, 

Login or Signup to post a comment