Start a new topic
Solved

Trackable2DObject Event Payload

The documentation for the onEnterFieldOfVision event of the Trackable2DObject says that the event payload is a string containing the targetName

 


this may be a newb question but how do I access the payload within the function I define for the event? 

Could you show me a quick example? 

Thanks


I figured it out thanks. I hope that wasn't too much of a newb question. More coming :-) I'm sure 

Hi Wilson,

In order to have a better understanding of this function then you can also refer to the documentation here. This is a function we mostly use when we are dealing with videos as augmented objects so you can also have a look at our samples and see how we define the function there.

I hope this helps
Eva

 

Login or Signup to post a comment