Материал из Module developer
IR.EVENT_OPEN_SCANNER
When developing a scanner for IR.EVENT_MODULE_START place, use this event, sognaling the start of scanner work
Синтаксис
module.AddListener(IR.EVENT_OPEN_SCANNER, 0, function, [pointer]);
| Название | Пример | Описание |
| function | function() | type: function unnamed function or reference to a function |
| pointer | type: object pointre to an object that services a function (optional) |
| На выходе |
-
Пример
module.AddListener(IR.EVENT_OPEN_SCANNER, 0, function () { IR.Log("action"); // action });
