DesktopSystemgetAllApplications Method |
Retrieves an array of data (uuid, running/active state) for all application windows.
Requires administrator privileges.
Namespace:
Openfin.Desktop
Assembly:
OpenfinDesktop (in OpenfinDesktop.dll) Version: 14.1.0-alpha3
Syntax public void getAllApplications(
AckCallback callback,
AckCallback errorCallback = null
)
Parameters
- callback
- Type: Openfin.DesktopAckCallback
A function that is called and passed an array containing the application UUIDs and running state.
- 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
The object passed to callback takes the form:
[
{
uuid: (string) uuid of the application,
isRunning: (bool) true when the application is running/active
},
...
]
See Also