Help / WLanguage / WLanguage functions / Mobile specific functions / Phone management functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
ConstantDescriptionUsed by the function
atasAuthorizedActivity tracking permission request: The authorization to track the user or the device has been granted.AppleTrackingAuthorizationStatus
atasNotDeterminedActivity tracking permission request: The user has not yet granted or denied the request.AppleTrackingAuthorizationStatus
atasDeniedActivity tracking permission request: The authorization to track the user or the device has been denied.AppleTrackingAuthorizationStatus
atasRestrictedActivity tracking permission request: The device is managed by a "Device Management Profile" which restricts tracking. AppleTrackingAuthorizationStatus
withCodeExecutionAll WLanguage events related to the theme application are run in the following order:
  1. Event "Application of light/dark theme" of the project.
  2. Optional event "Application of light/dark theme" of the windows.
ChargingUsed to find out whether the device battery is charging. PowerStatus
lightnessAutoThe screen lightness is automatically adapted according to the lighting conditions.BrightnessModify
recorderRecordOpens the recorder and starts recordingRecorderAction
recorderCloseCloses the recorderRecorderAction
recorderPlayOpens the recorder and plays the specified sound fileRecorderAction
recorderStopStops the current recordingRecorderAction
ChargeLevelCharge level of battery. PowerStatus
notifImageFormatContent of notification to display: Path of image to display.notificationFormat variable
notifListFormatContent of notification to display: Elements to display in the list, separated by CR characters (Carriage Return). notificationFormat variable
notifTextFormatContent of notification to display: Multiline text to display. notificationFormat variable
notifInfiniteProgressBarDisplays an infinite progress bar in the notification.Notification variable
notifNoProgressBarNo progress bar is displayed in the notification.Notification variable
notifStandardProgressBarDisplays a standard progress bar in the notification.Notification variable
notifDefaultPriorityPriority of notification: standard priority (example: receiving an SMS).Notification variable
notifHighPriorityPriority of notification: high priority (example: receiving an urgent email). Notification variable
notifLowPriorityPriority of notification: low priority (example: notification for update).Notification variable
notifMaxPriorityPriority of notification: maximum priority (example: incoming call). Notification variable
notifMinPriorityPriority of notification: minimum priority (example: commercial information).Notification variable
notifPushAllNotifThe mobile application will accept all types of push notifications.NotifPushEnable
notifPushAlertTypeThe mobile application will accept the push notifications in alert format.NotifPushEnable
notifPushBadgeTypeThe mobile application will accept the push notifications in badge format.NotifPushEnable
notifPushSoundTypeThe mobile application will accept the sound push notifications.NotifPushEnable
notifFreeResponseAllows the user to give a free response. notificationAction variable.
notifDefaultSoundSound of notifications: Used to play the default sound of notifications. This default sound can change from a device to another one.Notification variable
npeFirebasePlatform that will be used to send the notification: Firebase (Cloud Messaging API).NotifPushSend
New in version 28
Platform that will be used to send the notification: Firebase Cloud Messaging API (VI). NotifPushSend
npeGCMPlatform that will be used to send the notification: Google Cloud MessagingNotifPushSend
ChargePercentagePercentage of battery load.PowerStatus
network2GType of network: 2G networkMobileNetworkConnectionInfo
network3GType of network: 3G networkMobileNetworkConnectionInfo
network4GType of network: 4G networkMobileNetworkConnectionInfo
network5GType of network: 5G networkMobileNetworkConnectionInfo
networkConnectedData connection status: ConnectedMobileNetworkStatus
networkConnectionInProgressData connection status: Connection in progressMobileNetworkStatus
networkDisconnectedData connection status: Not connected
Internet connection status: Not connected
MobileNetworkStatus, InternetConnected
networkEdgeType of network: Edge networkMobileNetworkConnectionInfo
networkEthernetInternet connection status: the Internet connection is performed by EthernetInternetConnected
networkUnknownType of network: Unknown networkMobileNetworkConnectionInfo
networkRoamingData roaming mode.MobileNetworkConnectionInfo
networkMobileInternet connection status: the Internet connection is performed in mobile mode: egde, 2G, 3G, 4G, ...InternetConnected
networkAirPlaneModeManagement of plane mode.MobileNetworkConnectionInfo
networkOperatorName of the network operator used.MobileNetworkConnectionInfo
networkGSMSignalIntensity of GSM signal.MobileNetworkConnectionInfo
networkTypeType of network used to access the data on the mobile network.MobileNetworkConnectionInfo
networkWifiThe Internet connection is performed by Wi-Fi.InternetConnected
withoutCodeExecutionNo WLanguage event (project and/or window) linked to the application of the light/dark theme is run. ChangeTheme
stThemeAutomaticVisual theme: The automatic theme defined in the mobile device settings is used.ChangeTheme
stThemeLightVisual theme: The light theme is used.ChangeTheme,

stThemeUnknownVisual theme: The theme used is unknown.SysTheme
stThemeDarkVisual theme: The dark theme is usedChangeTheme,

ACLineStatusUsed to find out whether the device is plugged in. PowerStatus
teWatchType of screen: Watch screen (diagonal less than 2 inches).ScreenType
teComputerType of screen: Computer screen (diagonal greater than 13 inches).ScreenType
teTabletType of screen: Tablet screen (diagonal included between 7 and 13 inches).ScreenType
tePhoneType of screen: Phone screen (diagonal included between 2 and 7 inches).ScreenType
typeServiceIOSReleaseServer of IOS release (APN)NotifPushSend, NotifPushListInvalidIdentifiers
typeServiceIOSTestServer of IOS test (APN)NotifPushSend, NotifPushListInvalidIdentifiers
cuiAuthenticationUnavailableThe authentication feature is not available or it was disabled by the user.CheckUserIDentity
cuiCustomAuthenticationThe user wants to authenticate by using a password: the application will have to manage this authentication manuallyCheckUserIDentity
cuiAuthenticatedThe user was identified properly.CheckUserIDentity
cuiAuthenticationFailureThe authentication failed.CheckUserIDentity
volumeAlarmVolume of the alarme.VolumePhysicalButton, VolumeModify, VolumeGet
volumeCallVolume of calls.VolumePhysicalButton, VolumeModify, VolumeGet
volumeCurrentCurrent volume of specified source. This volume is included between 0 and the maximum value for the volume of the source.VolumeGet
volumeCurrentPercentageCurrent volume of specified source, expressed in percentage of its maximum value. This volume is included between 0 and 100.VolumeGet
volumeDefaultVolume of default source. This source depends on the phone configurationVolumePhysicalButton, VolumeModify, VolumeGet
volumeMaxMaximum volume of specified source.VolumeGet
volumeMinusDecrements the value of the volume by one level.VolumeModify
volumeMusicVolume used when playing an audio or video file.VolumePhysicalButton, VolumeModify, VolumeGet
volumeNotificationVolume of the sound emitted during a new notification.VolumePhysicalButton, VolumeModify, VolumeGet
volumePlusIncrements the value of volume by one level.VolumeModify
volumeRingVolume of phone ringVolumePhysicalButton, VolumeModify, VolumeGet
volumeSystemVolume of system sounds.VolumePhysicalButton, VolumeModify, VolumeGet
volumeToastTriggers the display of a toast indicating the new value of the volume for the specified sound source.VolumeModify
volumeVibratorOffDisables the vibrator of the device when receiving a notification or a call.VolumeModify
volumeVibratorOnEnables the vibrator of the device when receiving a notification or a call.VolumeModify
volumeVibratorIfSilentEnables the vibrator of the device when receiving a notification or a call if the corresponding sound source is silent.VolumeModify
Minimum version required
  • Version 17
This page is also available for…
Click [Add] to post a comment

Last update: 03/21/2023

Send a report | Local help