Access Device Methods inside runIn()

Aaaahhh !! That actually makes sense !

Couple of questions :

  1. How would I find the type of the object passed in the method ? I’m unable to use class and getClass (as mentioned in the guide) as they throw Security Exception.
  2. Could you point me to the documentation on how to do this ? I found this thread that talks about it. So I assumed this documentation page should have it. But I don’t see it there !

Again, Thanks a ton for helping out Tony !