Moai SDK  1.5 revision 1 (MoaiEdition)
MOAINotificationsAndroid Class Reference

Inherits MOAIGlobalClass< TYPE, SUPER >.

List of all members.

Function List

  getAppIconBadgeNumber
  localNotificationInSeconds
  registerForRemoteNotifications
  setAppIconBadgeNumber
  unregisterForRemoteNotifications

Function Documentation

Get the current icon badge number. Always returns zero.


function getAppIconBadgeNumber ()
Returns:
count ( number )

Schedules a local notification to show a number of seconds after calling.


function localNotificationInSeconds ( string message, number seconds )
Parameters:
message ( string )
seconds ( number )
Returns:
nil

Register to receive remote notifications.


function registerForRemoteNotifications ( string sender )
Parameters:
sender ( string ) The identity of the entity that will send remote notifications. See Google documentation.
Returns:
nil

Get the current icon badge number. Does nothing.


function setAppIconBadgeNumber ()
Returns:
nil

Unregister for remote notifications.


function unregisterForRemoteNotifications ()
Returns:
nil