Start a new topic

Callback that is called when the AR finishes loading the wtc file

Callback that is called when the AR finishes loading the wtc file


Hello, My question is simple, i am developing two apps that use the wikitude sdk, one for ios and the other for android. 

Now in my apps i need to know the exact time the ArchitectView finishes downloading the wtc file. 

In ios there is a delegate that is being called after the loading of the wtc file, In android I couldn't find such a callback method. 

Please tell me if there exists such a method.

Thanks

Hello.

There is no Android-specific callback for this purpose, but you can use the 'onLoaded' event of the Tracker object in Javascript.

An example is http://www.wikitude.com/external/doc/documentation/3.1/web/imagerecognition.html#image-recognition

If you need to pass that event to your native application, you can use an URL with the format 'architectsdk://<action>'.
Login or Signup to post a comment