Difference between revisions of "Notification:setNumber"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== 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.
+
<translate>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 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.
+
On IOS number is represented as a badge number at your application icon.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Notification:setNumber()
 
  Notification:setNumber()
 
</source>
 
</source>

Revision as of 14:34, 23 August 2018

Available since: Gideros 2011.6

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()