Returns the name of the front-end used for Universal Rendering.




The ui.Interface.getUniversalClientName() class method returns the name of the front-end used to achieve Universal Rendering.

Note: The getUniversalClientName() method is especially useful for debugging purpose. Consider writing code that is not dependent on the Native Rendering or Universal Rendering mode.

When Universal Rendering mode is used, this method returns "GBC".

Important: When calling this method, the user interface module of the runtime system will initialize. As a result, in text mode, the terminal will be initialized and get some escape sequences. This may corrupt standard output when executing batch programs. Consider testing the FGLGUI environment variable, if you want to check that the batch program is executing in text mode.