Moai SDK  1.5 revision 1 (MoaiEdition)
MOAINotificationsIOS Class Reference

Inherits MOAIGlobalClass< TYPE, SUPER >.

List of all members.

Function List

  getAppIconBadgeNumber
  registerForRemoteNotifications
  setAppIconBadgeNumber
  unregisterForRemoteNotifications

Function Documentation

Get the current icon badge number.


function getAppIconBadgeNumber ()
Returns:
count ( integer )

Register to receive remote notifications.


function registerForRemoteNotifications ( integer types )
Parameters:
types ( integer ) A mask of requested notification types. See Apple documentation.
Returns:
nil

Set the current icon badge number.


function setAppIconBadgeNumber ( integer count )
Parameters:
count ( integer ) The count to set on the icon badge.
Returns:
nil

Dregister for remote notifications.


function unregisterForRemoteNotifications ()
Returns:
nil