WebRequestEvent.add Method

Parent Object: WebRequestEvent
Defined in namespace "adsk::core" and the header file is <Core/Application/WebRequestEvent.h>

Description

Add a handler to be notified when the event occurs.

Syntax

"webRequestEvent_var" is a variable referencing a WebRequestEvent object.
returnValue = webRequestEvent_var.add(handler)
"webRequestEvent_var" is a variable referencing a WebRequestEvent object.

#include <Core/Application/WebRequestEvent.h>

returnValue = webRequestEvent_var->add(handler);

Return Value

Type Description
boolean Returns true if the addition of the handler was successful.

Parameters

Name Type Description
handler WebRequestEventHandler The handler object to be called when this event is fired.

Version

Introduced in version May 2016