Show TOC

getBadgeNumber( callback ) methodLocate this document in the navigation structure

Used to fetch the badge count for the application.

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


<static> getBadgeNumber( callback )

Name Type Description
<callback> function Success callback to call when to send the badge count.The callback function will contain an argument in json format with the current badge count. Look into the example for the deail on how to use them.
function getBadgeNumCallback(data) { badgecount = data;}