|
|
|
|
|
NotifDeleteCategory (Function) Deletes a notification category from the application.
tabCatégorie is array of notificationCategory = NotifListeCatégorie()
FOR EACH Catégorie OF tabCatégorie
IF Catégorie.Priority = notifLowPriority THEN
NotifDeleteCategory(Catégorie.Identifier)
END
END
Sintaxis
<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. Observaciones - 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.
Componente: wd300android.jar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|