Agent Events
Overview
- The agent event module uses the
agentEventobject prefix, e.g.agentEvent.clickPoint - This section lists functions specific to agent mode; other calls can use global functions directly
Settings
setAgentCallParam — Set Agent Global Communication Timeout
- Set agent mode parameters
- @param data Parameter map
- Example:
{"remoteCallTimeout":10000} - remoteCallTimeout: Call timeout in milliseconds; default is 10 seconds
- @return
{bool}true on success, false on failure
function main() {
var result = agentEvent.setAgentCallParam({"remoteCallTimeout": 10000});
if (result) {
logd("yes");
} else {
logd("no");
}
}
main();