NotificationSettings.Snoof.On

Turn this off if you want to receive notifications only when application is not in focus.
89