ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
  • Simple or full kiosk mode
  • Function availability
  • Running processes containing compilation errors
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Indicates whether the Android application is in kiosk mode.
In this mode, users' actions are limited:
  • users are prevented from leaving the application,
  • users cannot run other applications,
  • users cannot access the device settings,
  • users do not see or receive notifications or calls.
For more details, see Application in kiosk mode.
Example
// Si l'application est en mode kiosque
IF InKioskMode() THEN
	...
END
Syntax
<Result> = InKioskMode()
<Result>: Boolean
  • True if the application is currently in kiosk mode,
  • False otherwise.
Remarks

Simple or full kiosk mode

Two kiosk modes are available:
  • Simple kiosk mode: when switching to kiosk mode (function KioskEnable), the user is prompted to confirm that the application has been switched to kiosk mode.
  • Full kiosk mode: the application is also in "Device Owner" mode, with no message displayed to the user. To find out if the application uses this mode, use InDeviceOwnerMode.
If the application is in simple kiosk mode, InKioskMode returns True only when the user validates the swtich-to-kiosk confirmation message.

Function availability

InKioskMode can be used in all IDEs to allow for cross-platform code. Functions or procedures that use InKioskMode can be shared between several products without generating any compilation error.

Running processes containing compilation errors

By default, the security mechanism of WLanguage is triggered only if the line containing the compilation error is run.
For example, if a function not allowed in the current product is found in a loop (IF), the security mechanism of WLanguage will be triggered only if the line containing this function is run.
Component: wd300vm.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help