Difference between revisions of "Notification:setNumber"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 11: Line 11:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
  Notification:setNumber()
 
  Notification:setNumber()
</source>
+
</syntaxhighlight>

Latest revision as of 15:32, 13 July 2023


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.

 Notification:setNumber()