ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
  • Simple or full kiosk mode
  • Availability of the function
  • Running processes containing compilation errors
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
// If the application is in kiosk mode
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 KioskEnable is used, a message asks the user to confirm that the application has switched to kiosk mode.
  • Full kiosk mode: the application is also in "Device Owner" mode, no message is 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.

Availability of the function

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: wd290wm.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help