Click or drag to resize

WindowremoveEventListener Method

Note: This API is now obsolete.

Removes a previously registered event listener from the specified event.

The listener is passed an event object containing information related to the event.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Use Window events instead.")]
public void removeEventListener(
	string type,
	AckCallback listener,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

type
Type: SystemString
The type of the event.
listener
Type: Openfin.DesktopAckCallback
A function that was called whenever an event of the specified type occurs. It is no longer called in response to an event of the passed type.
callback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
Remarks
Supported system event types are: blurred bounds-changed bounds-changing closed close-requested disabled-frame-bounds-changed disabled-frame-bounds-changing focused frame-disabled frame-enabled group-changed hidden maximized minimized restored shown
See Also