Difference between revisions of "Notification:setNumber"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
  
 
On IOS number is represented as a badge number at your application icon.</translate>
 
On IOS number is represented as a badge number at your application icon.</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  Notification:setNumber()
 
  Notification:setNumber()
</source>
+
</syntaxhighlight>

Latest revision as of 14: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()