Start a new topic

Action launch via JS or android ?

Action launch via JS or android ?

Hello, i am working on an AR project and i have some confusion at the launch of an action after a click on a button on the AR scene , if i can trait the click on the button with an "onclick()"  method, can i use the "architecsdk://.." and trait the same action on the android via "UrlListener()"? And what is the difference?

Thank s.



onclick (e.g. for an ImageDrawable): As the button should be clickable the onClick trigger is defined in the options passed to the AR.ImageDrawable. In general each drawable can be made clickable by defining its onClick trigger.

architectsdk://: Details on the usage can be found here

Please have a look at our documentation section to find all the details you need.


Login or Signup to post a comment