"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Inheriting DefaulttrackableeventHandler

Hi,

 

I wrote code that when detects any tracker shows object on that tracker, my requirement wast to show a menu when items are detected i did that by writing some code in defaulttrackableeventhandler near OnTrackingFound() but my problem is when i update the sdk or anything the code i wrote in defaulttrackable.. class gets removed since that class is replaced by new one..

 

I tried to inherit defaulttrackable class and override its methods but its a sealed class i can't do that, i tried to inherit itrackableeventhandler interface and work on that but its methods are not being called.

 

is there any solution??

thanks :)

 

and sorry for my poor english.

AbdulMueed

Tue, 06/24/2014 - 11:01

Solved by simply creating new class and inheriting it with itrackableeventhandler interface then registetring that class. i was not registering it which was causing problems at first tiem.