Difference between revisions of "Notification:setNumber"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | <languages /> |
− | === Description === | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | 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>Class</translate>:''' [[Special:MyLanguage/Notification|Notification]]<br/> |
+ | === <translate>Description</translate> === | ||
+ | <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> |
− | < | + | <syntaxhighlight lang="lua"> |
Notification:setNumber() | Notification:setNumber() | ||
− | </ | + | </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()