Hi,
Does anyone know of a way to get a list of all the headless clients? I have looked at plugins.headlessclient and plugins.clientmanager but neither of them seem to have a method to allow this.
Thanks
Steve
var listClients = plugins.clientmanager.getConnectedClients();
for (var indClients = 0; indClients < listClients.length; indClients++) {
var clientInfo = listClients[indClients];
if (clientInfo.getApplicationType() == APPLICATION_TYPES.HEADLESS_CLIENT) {
headlessClientsAll++
continue;
}
var clientUserOrgID = clientInfo.getUserUID();
if (!clientUserOrgID) {
continue;
}
......
}
Return to Servoy Headless Client
Users browsing this forum: No registered users and 3 guests