ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Background task functions
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
Returns the list of background tasks for the application.
Example
// Returns True if the background task for processing emails was added
PROCEDURE bTaskEmailProcessActive
sTaskList is string = BackgroundTaskList()
FOR EACH STRING sTask OF sTaskList SEPARATED BY CR
IF ExtractString(sTask, 2, TAB) = "ProcProcessEmailInBackground" THEN
RETURN True
END
END
RESULT False
Syntax
<Result> = BackgroundTaskList()
<Result>: Character string
  • List of background tasks for the application separated by CR characters (Carriage Return). This list has the following format:
    <Identifier> + TAB + <Procedure> + TAB + <Frequency> + TAB + <Auto> + CR +  ...
    where:
    • <Identifier> is an integer corresponding to the task identifier,
    • <Procedure> is a character string corresponding to the name of the WLanguage procedure called when running the task,
    • <Frequency> is an integer corresponding to the runtime frequency of task (in minutes),
    • <Auto> is a boolean:
      • True if the task was automatically added via the setting of procedure automation (not available in this version),
      • False if it was added by BackgroundTaskAdd.
  • Empty string ("") if no background task was defined for the application.
Business / UI classification: Business Logic
Component: wd290android.jar
Minimum version required
  • Version 23
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help