- Simple or full kiosk mode
- Availability of the function
- Running processes containing compilation errors
InKioskMode (Function) In french: EnModeKiosque 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.
// If the application is in kiosk mode IF InKioskMode() THEN ... END
Syntax <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.
This page is also available for…
|
|
|
|