Notification:setNumber

From GiderosMobile
Revision as of 14:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


Available since: Gideros 2011.6
Class: Notification

Description

Sets the number of local notification. Usually number is used to represent amount of events awaiting for user, as amount of unreplied messages, etc. By default number is 0 and is not shown.

On Android number in local notifications is visible only starting from Android 3.0 version (but can be provided in any version).

On IOS number is represented as a badge number at your application icon. <syntaxhighlight lang="lua">

Notification:setNumber()

</source>