Unity.Platform.IPhone.IPhoneNotification.PresentLocalNotificationNow C# (CSharp) Method

PresentLocalNotificationNow() public method

public PresentLocalNotificationNow ( NotificationData notification ) : void
notification Unity.Core.Notification.NotificationData
return void
		public override void PresentLocalNotificationNow (NotificationData notification)
		{
			UIApplication.SharedApplication.InvokeOnMainThread (delegate { 
				if(notification!=null) {
					UILocalNotification localNotification = this.PrepareLocalNotification(notification);
					UIApplication.SharedApplication.PresentLocalNotificationNow(localNotification);
				} else {
					SystemLogger.Log(SystemLogger.Module.PLATFORM,"No suitable data object received for presenting local notification");
				}
			});
		}