PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Deletes a notification category from the application.
Example
// Delete all unimportant notification categories from the application
arrCategory is array of NotifCategory = 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 know the error details.
<Identifier>: Character string (with quotes)
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 on devices with Android 8.0 or later (api level 26).
    A fatal error occurs if the function is used with an earlier system version.
    To know the Android version on which the application is running, use SysAndroidVersion.
Component : wd250android.jar
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment