ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Phone 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
Deletes a notification category from the application.
Example
// Delete all unimportant notification categories from the application
arrCategory is array of notificationCategory = NotifListCategory()
FOR EACH Category OF arrCategory
IF Category.Priority = notifLowPriority THEN
NotifDeleteCategory(Category.Identifier)
END
END
Syntax
<Result> = NotifDeleteCategory(<Identifier>)
<Result>: Boolean
  • True if the category has been deleted,
  • False otherwise. If the deletion fails, use ErrorInfo to get more details on the error.
<Identifier>: Character string
Identifier of the notification category to delete. The category identifier is case and accent-sensitive.
Remarks
  • When a category is deleted, changes made by the end user in the application's notification settings are lost.
  • To list the existing categories of the application, use NotifListCategory.
  • NotifDeleteCategory is available only for devices running Android 8.0 or later (API level 26).
    A fatal error occurs if the function is used with an earlier system version.
    To determine the version of Android the application is running on, use SysAndroidVersion.
Component: wd290android.jar
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help