ui.Interface.getFrontEndName()

 

ui.Interface.getFrontEndName() returns the type of the front end currently used.

 

Syntax:

 

ui.Interface.getFrontEndName()

 

Arguments:

 

takes no input arguments

 

Possible values:

 

lyciadesktop.html5

the application is run via LyciaDesktop

lyciaweb

the application is run via LyciaWeb

lyciamobile

the application is run via LyciaTouch

 

Usage and examples:

 

ui.Interface.getFrontEndName() returns the type of the front end currently employed to run the application. The returned value can be one of the STRING values given above.

The method is typically used for debugging purposes.

 

The example code given below will produce a message displaying the name of the front end:

 

MAIN

 DEFINE fname STRING

  LET fname =  ui.Interface.getFrontEndName()

  CALL fgl_winmessage("ui.interface.getFrontEndName()",fname,"info")

END MAIN

 

 

 

Related articles:

getFrontEndVersion()