Go to documentation repository
The GetEventDescription method is in use for receiving the object description on free used to get a description of an event in natural language.
Syntax of for method invocation:
| Code Block |
|---|
function GetEventDescription (obj_type : String, event : String) |
Method arguments:
Example.
...
When receiving
...
events
...
from camera 1
...
, display messages about them in natural language in the
...
debug window.
| Code Block |
|---|
if (Event.SourceType == "CAM"&& Event.SourceId == "1")
{
var str = GetEventDescription("CAM", Event.Action);
DebugLogString(str);
} |