MoSync 3.3
Notification::NotificationManager Class Reference

Class that handles notification events. It contains methods for setting & getting application's characteristics (e.g. application icon badge number on iOS). More...

#include <Notification/NotificationManager.h>

Inheritance diagram for Notification::NotificationManager:
MAUtil::CustomEventListener

List of all members.

Public Member Functions

virtual ~NotificationManager ()
virtual void customEvent (const MAEvent &event)
void addLocalNotificationListener (LocalNotificationListener *listener)
void removeLocalNotificationListener (LocalNotificationListener *listener)
int scheduleLocalNotification (LocalNotification *localNotification)
int unscheduleLocalNotification (LocalNotification *localNotification)
int registerPushNotification (const int types, const MAUtil::String &senderId)
void unregisterPushNotification ()
void addPushNotificationListener (PushNotificationListener *listener)
void removePushNotificationListener (PushNotificationListener *listener)
void setApplicationIconBadgeNumber (const int iconBadgeNumber)
int getApplicationIconBadgeNumber ()
int setPushNotificationsDisplayFlag (const NotificationDisplayFlag displayFlag)
int setPushNotificationsTitle (const MAUtil::String &title)
int setPushNotificationsTickerText (const MAUtil::String &ticker)
MAUtil::String getMessageTitle () const
MAUtil::String getTickerText () const

Static Public Member Functions

static NotificationManagergetInstance ()
static void destroyInstance ()

Protected Member Functions

 NotificationManager ()
void receivedLocalNotification (const MAEvent &event)
void receivedPushNotification (const MAEvent &event)

Detailed Description

Class that handles notification events. It contains methods for setting & getting application's characteristics (e.g. application icon badge number on iOS).

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines