diff --git a/types/index.d.ts b/types/index.d.ts index 455b78fc3..b47335c20 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -103,6 +103,13 @@ declare namespace PhonegapPluginPush { * @param id */ finish(successHandler?: () => any, errorHandler?: () => any, id?: string): void + + /** + * Tells the OS to clear all notifications from the Notification Center + * @param successHandler Is called when the api successfully clears the notifications. + * @param errorHandler Is called when the api encounters an error when attempting to clears the notifications. + */ + clearAllNotifications(successHandler: () => any, errorHandler: () => any): void } /**