Show TOC

resetBadge( callback ) methodLocate this document in the navigation structure

Used to reset the badge count for the application.

This function is used only by iOS. Other platforms do not have the badge count concept.

Syntax

<static> resetBadge( callback )

Parameters
Name Type Description
<callback> function Success callback to call when the badge count is reset.The callback function will contain an argument in string format. This argument can be used for informative purpose.
Example
function badgeCallback(mesg){}
sap.Push.resetBadge(badgeCallback);