Topic locked

Inheriting DefaulttrackableeventHandler

June 23, 2014 - 12:02am #1

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.

Inheriting DefaulttrackableeventHandler

June 24, 2014 - 4:01am #2

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.

Topic locked