Appverse.Core.PushNotifications.AbstractPushNotifications.ReceivedRemoteNotification C# (CSharp) Method

ReceivedRemoteNotification() public method

public ReceivedRemoteNotification ( UIApplication application, NSDictionary userInfo ) : void
application UIApplication
userInfo NSDictionary
return void
		public override void ReceivedRemoteNotification (UIApplication application, NSDictionary userInfo)
		{
			SystemLogger.Log (SystemLogger.Module.PLATFORM, "Received Remote Notification (application is in background): processing data...");

			// This method gets called whenever the app is already running and receives a push notification
			// WE MUST HANDLE the notifications in this case.  Apple assumes if the app is running, it takes care of everything
			// this includes setting the badge, playing a sound, etc.
			processNotification(userInfo, false, application.ApplicationState);

		}