|
Moai SDK
1.5 revision 1 (MoaiEdition)
|
Inherits MOAIGlobalClass< TYPE, SUPER >.
Function List | |
| getAppIconBadgeNumber | |
| localNotificationInSeconds | |
| registerForRemoteNotifications | |
| setAppIconBadgeNumber | |
| unregisterForRemoteNotifications | |
Get the current icon badge number. Always returns zero.
function getAppIconBadgeNumber ()
Schedules a local notification to show a number of seconds after calling.
function localNotificationInSeconds ( string message, number seconds )
| message | ( string ) |
| seconds | ( number ) |
Register to receive remote notifications.
function registerForRemoteNotifications ( string sender )
| sender | ( string ) The identity of the entity that will send remote notifications. See Google documentation. |
Get the current icon badge number. Does nothing.
function setAppIconBadgeNumber ()
Unregister for remote notifications.
function unregisterForRemoteNotifications ()