Class WL.Badge

WL.Badge

Method Summary
Method Attributes Method Name and Description
 
setNumber(number)
Sets the application badge to the number provided.
Method Detail
setNumber
setNumber(number)
Sets the application badge to the number provided. Sets the application badge to the number provided.
Parameters:
number - Mandatory. Integer. An integer that is displayed as a badge over the application icon. For iOS, a value lesser than or equal to 0 removes the application badge. Values that are too long (5 digits, or more) to be entirely displayed in an iPhone device are truncated with ellipsis. For Windows Phone 8, a value lesser than or equal to 0 removes the application badge. A number greater than 99 sets the tile count to 99.
Note:
This object is only applicable to iOS and Windows Phone 8 applications.

© Copyright IBM Corp. 2011, 2016.