Is this how I set this?
this.tracker = new AR.ObjectTracker(this.targetCollectionResource, { onError: this.onError, trackerEfficiencyMode: AR.CONST.TRACKER_EFFICIENCY_MODE.HIGH_ACCURACY });
Hi Eric,
Yes correct, you're using the efficieny mode, via the TRACKER_EFFICIENCY_MODE constant.
Greetings
Nicola
Thank you for the reply.
I would suggest you change the type written here for this property from "Number" to "String":
The fact it said it took a Number as its value was what confused me.
Eric Giddings
Why does this document say the way to set it is a number:
https://www.wikitude.com/external/doc/documentation/latest/Reference/JavaScript%20API/classes/ObjectTracker.html
But here it says it's a string:
https://www.wikitude.com/external/doc/documentation/latest/Reference/JavaScript%20API/classes/CONST.html
Which one is it? How do I call it? Do the docs need updating?