Tutorial: system.getAllApplications

system.getAllApplications

Retrieves an array of data for all applications.

Example

fin.desktop.System.getAllApplications(function (applicationInfoList) {
    applicationInfoList.forEach(function (applicationInfo) {
        console.log("Showing information for application with uuid: "
            + applicationInfo.uuid);
        console.log("isRunning: ", applicationInfo.isRunning);
    });
});

Application Info List

//This response has the following shape:
[
    {
        isRunning: true, //true when the application is running.
        uuid: "uuid", //uuid of the application.
        parentUuid: "uuid" // uuid of the application that launches this application.
    }
]