register_with_app


Description:

public bool register_with_app (string event_type, Array<string>? properties, Accessible? app) throws Error

Adds an in-process callback function to an existing EventListener.

Parameters:

this

The EventListener to register against an event type.

event_type

a character string indicating the type of events for which notification is requested. See register for a description of the format and legal event types.

properties

a list of properties that should be sent along with the event. The properties are valued for the duration of the event callback.

app

the application whose events should be reported, or null for all applications.

Returns:

TRUE if successful, otherwise FALSE.