Go to documentation repository
Page History
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:
- obj_type – is a required argument. Specifies It specifies the type of system object, the description of which is required you want to get.
- event – is a required argument. Specifies It specifies the name of object description the event, the name of which is required you want to get.
Example. Display messages about When receiving of events for from camera 1 on the free , display messages about them in natural language in the Debug debug window.
Code Block |
---|
if (Event.SourceType == "CAM"&& Event.SourceId == "1") { var str = GetEventDescription("CAM", Event.Action); DebugLogString(str); } |
Overview
Content Tools