Source/CSBackend/Platform/Android/Main/Java/com/chilliworks/chillisource/core/LocalNotificationNativeInterface.java
/**
	 * Method accessable from native for canceling all previously 
	 * scheduled notifications. This should only be called on the Main thread.
	 * 
	 * @author Steven Hendrie
	 */
Method accessable from native for canceling all previously
scheduled notifications. This should only be called on the Main thread.

@author Steven Hendrie
Method accessable from native for canceling all previously scheduled notifications . This should only be called on the Main thread . @author Steven Hendrie
public void cancelAll()
	{
		List<LocalNotification> notifications = m_notificationStore.getNotifications();
		List<LocalNotification> cancelList = new ArrayList<LocalNotification>();
		for (LocalNotification notification : notifications)
		{
			cancelList.add(notification);
		}
		for (LocalNotification notification : cancelList)
		{
			PendingIntent pendingIntent = PendingIntent.getBroadcast(CSApplication.get().getActivityContext(), notification.getIntentId(), notification.toIntent(), PendingIntent.FLAG_UPDATE_CURRENT);
			m_alarmManager.cancel(pendingIntent);
			m_notificationStore.remove(notification);
		}
	}
public void cancelAll ( ) { List < LocalNotification > notifications = m_notificationStore . getNotifications ( ) ; List < LocalNotification > cancelList = new ArrayList < LocalNotification > ( ) ; for ( LocalNotification notification : notifications ) { cancelList . add ( notification ) ; } for ( LocalNotification notification : cancelList ) { PendingIntent pendingIntent = PendingIntent . getBroadcast ( CSApplication . get ( ) . getActivityContext ( ) , notification . getIntentId ( ) , notification . toIntent ( ) , PendingIntent . FLAG_UPDATE_CURRENT ) ; m_alarmManager . cancel ( pendingIntent ) ; m_notificationStore . remove ( notification ) ; } }
Method accessable from native for canceling all previously
 scheduled notifications.
Method accessable from native for canceling all previously scheduled notifications .