Access via:
io.appManager.myInstanceInstanceinterface
Object describing an application instance.
Properties (5)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| agm⚓︎ | Instance | x | Interop instance. Use this to invoke Interop methods for that instance. |
|
| application⚓︎ | Application | x | x | |
| id⚓︎ | string | x | Instance ID. |
|
| interopInstance⚓︎ | Instance | x | Access to the Interop instance. Use this to invoke Interop methods for the app instance. |
|
| title⚓︎ | string | undefined | x | Title of the app instance. |
7 Methods
getWindow()⚓︎
() => Promise<IOConnectWindow>
Retrieves the window object corresponding to the app instance.
onInteropReady()⚓︎
(callback: (instance: Instance) => any) => UnsubscribeFunction
onStopped()⚓︎
(callback: (instance: Instance) => any) => UnsubscribeFunction
startedBy()⚓︎
() => Promise<StartedByInfo>
Retrieves information about how the current app instance was started, and about the identity of the initiator.
io.Connect Desktop 9.3stop()⚓︎
() => Promise<void>
Stops the instance.
Returns
Promise that resolves when the instance has been stopped.