| DesktopStateListener Interface | 
Namespace: Openfin.Desktop
 Syntax
Syntaxpublic interface DesktopStateListener
The DesktopStateListener type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | onClosed | 
                Callback when the connection with the Desktop has closed.
             | 
|  | onError | 
                Callback when client cannot start or connect to the Desktop.
             | 
|  | onMessage | 
                Callback when a message is sent to this client.
             | 
|  | onOutgoingMessage | 
                Callback when a message is sent from this client.
             | 
|  | onReady | 
                Callback when Desktop is successfully connected and ready to 
                accept commands.
             | 
 See Also
See Also