0
Answered

JS script: change the Programing on a item

Daniel Sebastiao 3 years ago in iRidium Script updated by Aleksandr Romanov (CTO) 3 years ago 2

Can i add or change the programing on a item via a JS script?


I think you can use

IR.AddListener and IR.RemoveListener


when you want to change just remove old listener and add a new one
http://dev.iridiummobile.net/Systems_API/en#IR.RemoveListener