Click or drag to resize

ExternalWindowObserver Class

Integrates a window outside of the desktop for interaction and control with the API.
Inheritance Hierarchy
SystemObject
  Openfin.DesktopExternalWindowObserver

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 16.6.0
Syntax
C#
public sealed class ExternalWindowObserver : IDisposable, 
	DesktopStateListener

The ExternalWindowObserver type exposes the following members.

Constructors
  NameDescription
Public methodExternalWindowObserver(Runtime, String, String, IntPtr)
Establishes a connection and registers the window identified by hWnd with the desktop.
Public methodExternalWindowObserver(String, Int32, String, String, IntPtr)
Establishes a connection and registers the window identified by hWnd with the desktop.
Top
Properties
  NameDescription
Public propertyName
The Name property represents the name for the window which must be unique within the context of the invoking Application.
Public propertyUUID
The UUID property represents the UUID of the application this window is a child of.
Top
Methods
  NameDescription
Public methodDispose
Ensures this window is deregistered on disposal.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodonClosed
Callback when the connection with the Desktop has closed.
Public methodonError
Callback when client cannot start or connect to the Desktop.
Public methodonMessage
Callback when a message is sent to this client.
Public methodonOutgoingMessage
Callback when a message is sent from this client.
Public methodonReady
Callback when Desktop is successfully connected and ready to accept commands.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
An integrated window is controlled in the same way as an HTML window running in the desktop. It can be controlled and queried by the API, generate events that are subscribed to by addEventListener, and join/merge groups with other windows for docking.
See Also