Difference between revisions of "NotificationManager:getScheduledNotifications"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
Retrieves the lua table of scheduled local notifications, that were not yet displayed. The table uses notification ids as keys and table with information about notification as value.
+
<translate>Retrieves the lua table of scheduled local notifications, that were not yet displayed. The table uses notification ids as keys and table with information about notification as value.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  NotificationManager:getScheduledNotifications()
 
  NotificationManager:getScheduledNotifications()

Revision as of 13:34, 23 August 2018

Available since: Gideros 2011.6

Description

Retrieves the lua table of scheduled local notifications, that were not yet displayed. The table uses notification ids as keys and table with information about notification as value.

 NotificationManager:getScheduledNotifications()

Examples

Here is an example structure of returned table:

Table {
	[2] => Table {
		{
			[message] => Do you see me?
			[title] => Test from Server1
			[id] => 2
			[number] => 0
			[sound] => "somesound.wav"
		}
	[10] => Table {
		{
			[message] => Do you see me?
			[title] => Test from Server2
			[id] => 10
			[number] => 0
			[sound] => ""
		}
}