Skip to main content
Version: 8.3.x

bfgPushNotificationDelegate Protocol

Gives app the opportunity to handle a remote (push) notification. More...#import <bfgPushNotificationManager.h>

Instance Methods

(void) - didReceivePushNotificationWithPayload:whileAppInForeground:
 A remote (push) notification has been received. More...
 

Detailed Description

Gives app the opportunity to handle a remote (push) notification.
Since
5.10

Method Documentation

◆ didReceivePushNotificationWithPayload:whileAppInForeground:

- (void) didReceivePushNotificationWithPayload: (NSDictionary *_Nullable) payload
whileAppInForeground:(BOOL) appInForeground 
optional
A remote (push) notification has been received.
Note
A push received when the app is in the foreground is not shown to the user. There is generally nothing the app needs to do in these circumstances, but the functionality is available on an as-needed basis.
Parameters
payloadA dictionary sent with the notification
appInForegroundYES if app in foreground when the push notification was received
Since
5.10