Getting environment information on server-side

Information about development with ProjX.

Getting environment information on server-side

Postby Development@SIB » Tue Oct 01, 2013 3:13 pm

If you want to know the launch environment of your client on server-side, simply use LifeCycleUtil to get the information. The information is stored as connection property of Master and SubConnections.

Simply call:

Code: Select all
LifeCycleUtil.getEnvironmentName();

or, e.g.

Code: Select all
LifeCycleUtil.isDesktopEnvironment();

on server-side.

This methods are similar to the client-side methods of UILauncher (see details).
User avatar
Development@SIB
 
Posts: 311
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation